android_kernel_asus_sm8350/drivers/media/cec
Hans Verkuil c32b39d070 media: cec: core: don't set last_initiator if tx in progress
[ Upstream commit 73af6c7511038249cad3d5f3b44bf8d78ac0f499 ]

When a message was received the last_initiator is set to 0xff.
This will force the signal free time for the next transmit
to that for a new initiator. However, if a new transmit is
already in progress, then don't set last_initiator, since
that's the initiator of the current transmit. Overwriting
this would cause the signal free time of a following transmit
to be that of the new initiator instead of a next transmit.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-28 10:18:40 +02:00
..
cec-adap.c media: cec: core: don't set last_initiator if tx in progress 2023-06-28 10:18:40 +02:00
cec-api.c cec-api: prevent leaking memory through hole in structure 2020-09-03 11:26:46 +02:00
cec-core.c
cec-notifier.c
cec-pin-error-inj.c
cec-pin-priv.h
cec-pin.c
cec-priv.h
Kconfig
Makefile