diff options
author | 2018-02-28 05:47:07 -0500 | |
---|---|---|
committer | 2018-03-05 07:46:24 -0500 | |
commit | e113d65ae417ae6d9be229649b81d404c47ade79 (patch) | |
tree | 083542d4725624c3a7a0c5a5af4cef508a631368 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | media: rc: lirc does not use LIRC_CAN_SEND_SCANCODE feature (diff) | |
download | linux-dev-e113d65ae417ae6d9be229649b81d404c47ade79.tar.xz linux-dev-e113d65ae417ae6d9be229649b81d404c47ade79.zip |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions