summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvme147.h
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@chromium.org>2017-04-25 03:19:43 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-13 13:56:49 -0300
commit17d716e9264c43f541eccbd5b7b11278b1fb65cb (patch)
tree8991d3d9e0b925c9c21a7c6c116f34da753eb30e /drivers/scsi/mvme147.h
parent18726a349de262f5bf03fab73fc7c46e79e6c41e (diff)
downloadlinux-17d716e9264c43f541eccbd5b7b11278b1fb65cb.tar.bz2
[media] s5p-jpeg: fix recursive spinlock acquisition
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>
Diffstat (limited to 'drivers/scsi/mvme147.h')
0 files changed, 0 insertions, 0 deletions