]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
doc: media: v4l/func-open.rst: ENXIO should be ENODEV
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 23 Feb 2024 09:15:20 +0000 (10:15 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 24 Apr 2024 11:49:55 +0000 (13:49 +0200)
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>
Documentation/userspace-api/media/v4l/func-open.rst

index ba23ff1e45dd3d7e19949f0bdfbfa150406f7327..be3808cbf87614444db2be3db968141c5fef1f39 100644 (file)
@@ -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.