Commit 73e0538b authored by Hans Verkuil's avatar Hans Verkuil

Documentation: media: gen-errors.rst: fix confusing ENOTTY description

The text is very, very old and predates /dev/mediaX devices, so the
reference to "media device" is today very confusing.

It also says that the ioctl is not supported by the driver, but a
driver may have multiple device nodes, some support a given ioctl,
and some don't.

Simplify the description: ENOTTY means that the ioctl is not supported
by the file descriptor.
Reported-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 900c06e9
...@@ -59,9 +59,7 @@ Generic Error Codes ...@@ -59,9 +59,7 @@ Generic Error Codes
- - ``ENOTTY`` - - ``ENOTTY``
- The ioctl is not supported by the driver, actually meaning that - The ioctl is not supported by the file descriptor.
the required functionality is not available, or the file
descriptor is not for a media device.
- - ``ENOSPC`` - - ``ENOSPC``
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment