diff options
| author | 2022-03-03 14:01:44 +0000 | |
|---|---|---|
| committer | 2022-04-24 07:38:19 +0100 | |
| commit | 590a8e564c6eff7e77a84e728612f1269e3c0685 (patch) | |
| tree | a4364838c77cbcb7a9d5957a4f79a313d192a78d /include/uapi/linux | |
| parent | media: cec: call enable_adap on s_log_addrs (diff) | |
| download | linux-dev-590a8e564c6eff7e77a84e728612f1269e3c0685.tar.xz linux-dev-590a8e564c6eff7e77a84e728612f1269e3c0685.zip | |
media: cec: abort if the current transmit was canceled
If a transmit-in-progress was canceled, then, once the transmit
is done, mark it as aborted and refrain from retrying the transmit.
To signal this situation the new transmit_in_progress_aborted field is
set to true.
The old implementation would just set adap->transmitting to NULL and
set adap->transmit_in_progress to false, but on the hardware level
the transmit was still ongoing. However, the framework would think
the transmit was aborted, and if a new transmit was issued, then
it could overwrite the HW buffer containing the old transmit with the
new transmit, leading to garbled data on the CEC bus.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
