aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorGinger Li <ginger.jzllee@gmail.com>2026-09-28 09:47:44 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-10-01 12:45:50 +0200
commitc65eb69f8170975802ddbede84420553eb681d62 (patch)
tree53ea30717fee52c8270e2d4b7d7738776b172b4d /scripts/Makefile.thinlto
parentmedia: cx231xx: remove unused cx231xx_dump_SC_reg() debug helper (diff)
media: exynos4-is: Fix a race between s_stream(0) and the interrupt handler
fimc_lite_subdev_s_stream(on = 0) sets ST_FLITE_OFF outside of the fimc->slock protected region, and only then stops the capture in the hardware. flite_irq_handler() runs under fimc->slock and clears ST_FLITE_OFF, so an interrupt can be handled in between: the handler finds ST_FLITE_OFF already set, clears it and wakes up fimc->irq_queue before the capture has actually been stopped. The wait_event_timeout() right after it then returns immediately and the driver continues as if the capture had stopped. Set ST_FLITE_OFF in the same critical section that stops the capture, as fimc_lite_stop_capture() already does. Fixes: 6319d6a002be ("[media] fimc-lite: Add ISP FIFO output support") Cc: stable@vger.kernel.org Signed-off-by: Ginger Li <ginger.jzllee@gmail.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions