linux/drivers/media/cec
Hans Verkuil 3f56c18a39 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>
History 2024-06-12 11:03:48 +02:00
..
core media: cec: core: avoid confusing "transmit timed out" message 2024-06-12 11:03:48 +02:00
i2c media: cec: i2c: ch7322: also select REGMAP 2023-07-19 16:22:00 +02:00
platform media: cec: meson: always include meson sub-directory in Makefile 2023-11-20 11:52:15 +01:00
usb media: pulse8-cec: handle possible ping error 2023-09-13 09:42:20 +02:00
Kconfig media: CEC: keep related menu entries together 2021-10-05 09:39:32 +02:00
Makefile media: cec: i2c: ch7322: Add ch7322 CEC controller driver 2020-07-04 12:16:18 +02:00