linux/drivers/media/cec/core
Hans Verkuil cbe499977b media: cec: core: avoid confusing "transmit timed out" message
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>
2024-05-02 19:01:00 +01:00
..
cec-adap.c media: cec: core: avoid confusing "transmit timed out" message 2024-05-02 19:01:00 +01:00
cec-api.c media: cec: core: avoid recursive cec_claim_log_addrs 2024-05-02 18:59:59 +01:00
cec-core.c media: cec: return -ENODEV instead of -ENXIO if unregistered 2024-04-24 13:49:55 +02:00
cec-notifier.c Merge drm/drm-next into drm-intel-next 2023-09-15 11:23:38 +03:00
cec-pin-error-inj.c media: cec/core: clarify rx-arb-lost usage message 2021-04-06 16:08:38 +02:00
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