Skip to content
Commit dd05fd12 authored by Hans Verkuil's avatar Hans Verkuil
Browse files

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: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 1ed4477f
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