linux/drivers/media/cec
Hans Verkuil 95c29d46ab media: cec: avoid decrementing transmit_queue_sz if it is 0
WARN if transmit_queue_sz is 0 but do not decrement it.
The CEC adapter will become unresponsive if it goes below
0 since then it thinks there are 4 billion messages in the
queue.

Obviously this should not happen, but a driver bug could
cause this.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: <stable@vger.kernel.org>      # for v4.12 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2019-12-13 11:22:10 +01:00
..
cec-adap.c media: cec: avoid decrementing transmit_queue_sz if it is 0 2019-12-13 11:22:10 +01:00
cec-api.c media: cec: expose the new connector info API 2019-10-01 17:19:41 -03:00
cec-core.c media: cec: expose the new connector info API 2019-10-01 17:19:41 -03:00
cec-notifier.c cec: add cec_adapter to cec_notifier_cec_adap_unregister() 2019-10-07 12:47:43 +02:00
cec-pin-error-inj.c
cec-pin-priv.h
cec-pin.c media: cec-pin: add 'received' callback 2019-10-24 18:31:24 -03:00
cec-priv.h media: cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function 2019-05-23 05:32:40 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile