forked from luck/tmp_suning_uos_patched
a245f93ad0
[ Upstream commit 3d37ef41bed0854805ab9af22c422267510e1344 ] The cobalt_s_bit_sysctrl reads the old register value over PCI, then changes a bit and sets writes the new value to the register. This is used among other things for setting the HPD output pin. But if the HPD is changed for multiple inputs at the same time, then this causes a race condition where a stale value is read. Serialize this function with a mutex. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
cobalt-alsa-main.c | ||
cobalt-alsa-pcm.c | ||
cobalt-alsa-pcm.h | ||
cobalt-alsa.h | ||
cobalt-cpld.c | ||
cobalt-cpld.h | ||
cobalt-driver.c | ||
cobalt-driver.h | ||
cobalt-flash.c | ||
cobalt-flash.h | ||
cobalt-i2c.c | ||
cobalt-i2c.h | ||
cobalt-irq.c | ||
cobalt-irq.h | ||
cobalt-omnitek.c | ||
cobalt-omnitek.h | ||
cobalt-v4l2.c | ||
cobalt-v4l2.h | ||
Kconfig | ||
m00233_video_measure_memmap_package.h | ||
m00235_fdma_packer_memmap_package.h | ||
m00389_cvi_memmap_package.h | ||
m00460_evcnt_memmap_package.h | ||
m00473_freewheel_memmap_package.h | ||
m00479_clk_loss_detector_memmap_package.h | ||
m00514_syncgen_flow_evcnt_memmap_package.h | ||
Makefile |