forked from Minki/linux
17d716e926
v4l2_m2m_job_finish(), which is called from the interrupt handler with slock acquired, can call the device_run() hook immediately if another context was in the queue. This hook also acquires slock, resulting in a deadlock for this scenario. Fix this by releasing slock right before calling v4l2_m2m_job_finish(). This is safe to do as the state of the hardware cannot change before v4l2_m2m_job_finish() is called anyway. Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
jpeg-core.c | ||
jpeg-core.h | ||
jpeg-hw-exynos4.c | ||
jpeg-hw-exynos4.h | ||
jpeg-hw-exynos3250.c | ||
jpeg-hw-exynos3250.h | ||
jpeg-hw-s5p.c | ||
jpeg-hw-s5p.h | ||
jpeg-regs.h | ||
Makefile |