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 media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
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 docs-rst: media: build SVG from graphviz files 2016-11-30 17:07:54 -07:00
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 media: ca.h: get rid of CA_SET_PID 2017-09-05 06:06:56 -04:00
cec.h.rst.exceptions media: cec-ioc-dqevent.rst: fix typo 2017-09-23 07:40:25 -04:00
conf_nitpick.py [media] conf_nitpick.py: ignore C domain data used on vb2 2016-09-09 10:18:07 -03:00
conf.py doc-rst: define PDF's of the media folder 2016-09-01 08:49:33 -06:00
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 media: dvb frontend docs: use kernel-doc documentation 2017-09-05 05:57:35 -04:00
index.rst media: index.rst: don't write "Contents:" on PDF output 2017-09-05 06:30:41 -04:00
intro.rst docs-rst: Don't use explicit Makefile rules to build SVG and DOT files 2017-03-13 16:41:22 -06:00
lirc.h.rst.exceptions media: rc docs: fix warning for RC_PROTO_IMON 2018-03-22 07:58:42 -04:00
Makefile docs-rst: Don't use explicit Makefile rules to build SVG and DOT files 2017-03-13 16:41:22 -06:00
media_kapi.rst media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
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 [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
typical_media_device.svg media: svg files: simplify files 2017-07-18 11:53:43 -03:00
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