linux/Documentation/media/uapi
Hans Verkuil 7ec2b3b941 media: cec: add new tx/rx status bits to detect aborts/timeouts
If the HDMI cable is disconnected or the CEC adapter is manually
unconfigured, then all pending transmits and wait-for-replies are
aborted. Signal this with new status bits (CEC_RX/TX_STATUS_ABORTED).

If due to (usually) a driver bug a transmit never ends (i.e. the
transmit_done was never called by the driver), then when this times
out the message is marked with CEC_TX_STATUS_TIMEOUT.

This should not happen and is an indication of a driver bug.

Without a separate status bit for this it was impossible to detect
this from userspace.

The 'transmit timed out' kernel message is now a warning, so this
should be more prominent in the kernel log as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org>      # for v4.18 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-05 11:22:39 -04:00
..
cec media: cec: add new tx/rx status bits to detect aborts/timeouts 2018-10-05 11:22:39 -04:00
dvb media: video_function_calls.rst: drop obsolete video-set-attributes reference 2018-08-29 13:24:30 -04:00
mediactl media: mediactl/*.rst: document argp 2018-09-11 08:30:52 -04:00
rc media: lirc-func.rst: new ioctl LIRC_GET_REC_TIMEOUT is not in a separate file 2018-05-14 07:13:11 -04:00
v4l media: vidioc-dqevent.rst: clarify V4L2_EVENT_SRC_CH_RESOLUTION 2018-10-04 14:26:10 -04:00
fdl-appendix.rst
gen-errors.rst media: gen-errors.rst: document ENXIO error code 2017-09-05 06:15:21 -04:00