aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexandre Courbot <[email protected]>2017-04-25 03:19:43 -0300
committerMauro Carvalho Chehab <[email protected]>2017-06-13 13:56:49 -0300
commit17d716e9264c43f541eccbd5b7b11278b1fb65cb (patch)
tree8991d3d9e0b925c9c21a7c6c116f34da753eb30e /tools/perf/scripts/python/export-to-postgresql.py
parent18726a349de262f5bf03fab73fc7c46e79e6c41e (diff)
[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 <[email protected]> Acked-by: Jacek Anaszewski <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions