summaryrefslogtreecommitdiff
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-02-28 13:47:07 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-05 15:46:24 +0300
commite113d65ae417ae6d9be229649b81d404c47ade79 (patch)
tree083542d4725624c3a7a0c5a5af4cef508a631368 /drivers/media/Kconfig
parent2fe4c22c53fc2e3f35be2cd0033cb3d15ebd41b1 (diff)
downloadlinux-e113d65ae417ae6d9be229649b81d404c47ade79.tar.xz
media: tegra-cec: reset rx_buf_cnt when start bit detected
If a start bit is detected, then reset the receive buffer counter to 0. This ensures that no stale data is in the buffer if a message is broken off midstream due to e.g. a Low Drive condition and then retransmitted. The only Rx interrupts we need to listen to are RX_REGISTER_FULL (i.e. a valid byte was received) and RX_START_BIT_DETECTED (i.e. a new message starts and we need to reset the counter). Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: <stable@vger.kernel.org> # for v4.15 and up Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/Kconfig')
0 files changed, 0 insertions, 0 deletions