original_kernel/Documentation/userspace-api/media/cec
Hans Verkuil dd05fd125e 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>
2024-04-24 13:49:55 +02:00
..
cec-api.rst
cec-func-close.rst
cec-func-ioctl.rst
cec-func-open.rst
cec-func-poll.rst
cec-funcs.rst
cec-header.rst
cec-intro.rst
cec-ioc-adap-g-caps.rst
cec-ioc-adap-g-conn-info.rst
cec-ioc-adap-g-log-addrs.rst
cec-ioc-adap-g-phys-addr.rst
cec-ioc-dqevent.rst
cec-ioc-g-mode.rst
cec-ioc-receive.rst
cec-pin-error-inj.rst