linux-imx/drivers/media/cec/core
Hans Verkuil 89af84e651 media: cec: core: avoid confusing "transmit timed out" message
[ Upstream commit cbe499977b ]

If, when waiting for a transmit to finish, the wait is interrupted,
then you might get a "transmit timed out" message, even though the
transmit was interrupted and did not actually time out.

Set transmit_in_progress_aborted to true if the
wait_for_completion_killable() call was interrupted and ensure
that the transmit is properly marked as ABORTED.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Yang, Chenyuan <cy54@illinois.edu>
Closes: https://lore.kernel.org/linux-media/PH7PR11MB57688E64ADE4FE82E658D86DA09EA@PH7PR11MB5768.namprd11.prod.outlook.com/
Fixes: 590a8e564c ("media: cec: abort if the current transmit was canceled")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:12:43 +02:00
..
cec-adap.c media: cec: core: avoid confusing "transmit timed out" message 2024-06-12 11:12:43 +02:00
cec-api.c media: cec: core: avoid recursive cec_claim_log_addrs 2024-06-12 11:12:43 +02:00
cec-core.c media: cec: core: disable adapter in cec_devnode_unregister 2023-05-26 10:52:05 +01:00
cec-notifier.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
cec-pin-error-inj.c
cec-pin-priv.h media: cec-pin: improve interrupt handling 2023-08-10 07:58:32 +02:00
cec-pin.c media: cec-pin: only enable interrupts when monitoring the CEC pin 2023-08-10 07:58:32 +02:00
cec-priv.h media: cec: core: disable adapter in cec_devnode_unregister 2023-05-26 10:52:05 +01:00
Makefile