linux_dsm_epyc7002/drivers/media/platform
Hans Verkuil e113d65ae4 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>
2018-03-05 07:46:24 -05:00
..
am437x media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
atmel media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
blackfin media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
cec-gpio [media] cec-gpio: don't generate spurious HPD events 2017-10-04 17:04:18 -03:00
coda media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
davinci media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
exynos4-is media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
exynos-gsc media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
marvell-ccic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
meson media: platform: Add Amlogic Meson AO CEC Controller driver 2017-08-09 10:45:26 -04:00
mtk-jpeg media: vcodec: mediatek: constify v4l2_m2m_ops structures 2017-08-20 08:03:55 -04:00
mtk-mdp License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtk-vcodec media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
mtk-vpu media: mtk-vpu: add description for wdt fields at struct mtk_vpu 2017-11-30 04:19:00 -05:00
omap media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
omap3isp media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
qcom media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rcar-vin media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rockchip/rga media: rockchip/rga: annotate PM functions as __maybe_unused 2017-10-31 07:21:56 -04:00
s3c-camif Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
s5p-cec media: s5p-cec: add NACK detection support 2017-09-23 07:29:30 -04:00
s5p-g2d media: platform: make video_device const 2017-08-27 08:44:30 -04:00
s5p-jpeg media: s5p-jpeg: Fix off-by-one problem 2017-12-18 15:12:30 -05:00
s5p-mfc vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
soc_camera vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
sti media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
stm32 media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
tegra-cec media: tegra-cec: reset rx_buf_cnt when start bit detected 2018-03-05 07:46:24 -05:00
ti-vpe media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
vimc media: v4l2-tpg*.h: move headers to include/media/tpg and merge them 2017-12-18 12:28:35 -05:00
vivid vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
vsp1 media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
xilinx media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
arv.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
fsl-viu.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
m2m-deinterlace.c media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
Makefile media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
mx2_emmaprp.c media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
pxa_camera.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rcar_drif.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rcar_fdp1.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rcar_jpu.c media: rcar_jpu: fix two kernel-doc markups 2017-11-30 04:19:03 -05:00
rcar-fcp.c v4l: rcar-fcp: Add an API to retrieve the FCP device 2017-06-09 12:25:36 +01:00
sh_veu.c Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
sh_vou.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
via-camera.c media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c media: platform: video-mux: convert to multiplexer framework 2017-07-20 06:59:25 -04:00
vim2m.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00