linux/Documentation/media
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-drivers
dvb-drivers media: docs: add documentation for frontend attach info 2017-11-30 04:19:04 -05:00
kapi media: cec-core.rst: improve cec_transmit_done documentation 2018-10-05 11:04:39 -04:00
uapi media: cec: add new tx/rx status bits to detect aborts/timeouts 2018-10-05 11:22:39 -04:00
v4l-drivers media: doc: media/v4l-drivers: Update Qualcomm CAMSS driver document for 8x96 2018-08-02 08:48:00 -04:00
.gitignore
audio.h.rst.exceptions media: dvb/audio.h: get rid of unused APIs 2018-07-30 16:21:49 -04:00
ca.h.rst.exceptions
cec.h.rst.exceptions media: cec-ioc-dqevent.rst: fix typo 2017-09-23 07:40:25 -04:00
conf_nitpick.py
conf.py
dmx.h.rst.exceptions media: dvb: add continuity error indicators for memory mapped buffers 2018-02-23 05:28:41 -05:00
frontend.h.rst.exceptions
index.rst
intro.rst
lirc.h.rst.exceptions media: rc docs: fix warning for RC_PROTO_IMON 2018-03-22 07:58:42 -04:00
Makefile
media_kapi.rst
media_uapi.rst media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
media.h.rst.exceptions media: media.h.rst.exceptions: ignore MEDIA-ENT-F-DTV-DECODER 2018-07-27 07:02:53 -04:00
net.h.rst.exceptions
typical_media_device.svg
video.h.rst.exceptions media: dvb/video.h: get rid of unused APIs 2018-07-30 15:43:47 -04:00
videodev2.h.rst.exceptions media: replace ADOBERGB by OPRGB 2018-09-24 09:21:47 -04:00