forked from Minki/linux
7ec2b3b941
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> |
||
---|---|---|
.. | ||
cec-drivers | ||
dvb-drivers | ||
kapi | ||
uapi | ||
v4l-drivers | ||
.gitignore | ||
audio.h.rst.exceptions | ||
ca.h.rst.exceptions | ||
cec.h.rst.exceptions | ||
conf_nitpick.py | ||
conf.py | ||
dmx.h.rst.exceptions | ||
frontend.h.rst.exceptions | ||
index.rst | ||
intro.rst | ||
lirc.h.rst.exceptions | ||
Makefile | ||
media_kapi.rst | ||
media_uapi.rst | ||
media.h.rst.exceptions | ||
net.h.rst.exceptions | ||
typical_media_device.svg | ||
video.h.rst.exceptions | ||
videodev2.h.rst.exceptions |