Searched hist:dd05fd125e66932e54da696f33f0cee51d4f8e95 (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-func-open.rst | diff dd05fd125e66932e54da696f33f0cee51d4f8e95 Fri Feb 23 10:08:47 CET 2024 Hans Verkuil <hverkuil-cisco@xs4all.nl> media: cec: return -ENODEV instead of -ENXIO if unregistered
If the CEC device is unregistered, then an attempt to open the device node should result in an -ENODEV error instead of -ENXIO.
Document this as well in cec-func-open.rst.
This is consistent with the error code returned by other file operations such as ioctl.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
/linux/drivers/media/cec/core/ |
H A D | cec-core.c | diff dd05fd125e66932e54da696f33f0cee51d4f8e95 Fri Feb 23 10:08:47 CET 2024 Hans Verkuil <hverkuil-cisco@xs4all.nl> media: cec: return -ENODEV instead of -ENXIO if unregistered
If the CEC device is unregistered, then an attempt to open the device node should result in an -ENODEV error instead of -ENXIO.
Document this as well in cec-func-open.rst.
This is consistent with the error code returned by other file operations such as ioctl.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|