diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-23 10:15:20 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-04-24 13:49:55 +0200 |
commit | e85bfd15c84e157338895a42676d07e73fe7c0e1 (patch) | |
tree | f509c7177928029a173e605ada535dfcc0afa671 /Documentation/userspace-api | |
parent | dd05fd125e66932e54da696f33f0cee51d4f8e95 (diff) | |
download | lwn-e85bfd15c84e157338895a42676d07e73fe7c0e1.tar.gz lwn-e85bfd15c84e157338895a42676d07e73fe7c0e1.zip |
doc: media: v4l/func-open.rst: ENXIO should be ENODEV
The error that V4L2 returns when an attempt is made to open an
unregisted device node is ENODEV, no ENXIO. Update the documentation.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'Documentation/userspace-api')
-rw-r--r-- | Documentation/userspace-api/media/v4l/func-open.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/userspace-api/media/v4l/func-open.rst b/Documentation/userspace-api/media/v4l/func-open.rst index ba23ff1e45dd..be3808cbf876 100644 --- a/Documentation/userspace-api/media/v4l/func-open.rst +++ b/Documentation/userspace-api/media/v4l/func-open.rst @@ -65,8 +65,8 @@ EBUSY The driver does not support multiple opens and the device is already in use. -ENXIO - No device corresponding to this device special file exists. +ENODEV + Device not found or was removed. ENOMEM Not enough kernel memory was available to complete the request. |