aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorPawel Osciak <[email protected]>2014-10-21 08:07:07 -0300
committerMauro Carvalho Chehab <[email protected]>2014-10-28 15:54:11 -0200
commitf2035364ccbf357ae23bddd6ebf67b35ecdc6a67 (patch)
treee925b74b860b2dd0ff8cb81061ba4c0c7383213f /tools/perf/scripts
parent9841dde5d965963cb9d0548054bc2f408cf7d8d5 (diff)
[media] s5p-mfc: fix a race in interrupt flags handling
Interrupt result flags have to be cleared before a hardware job is run. Otherwise, if they are cleared asynchronously, we may end up clearing them after the interrupt for which we wanted to wait has already arrived, thus overwriting the job results that we intended to wait for. To prevent this, clear the flags only under hw_lock and before running a hardware job. Signed-off-by: Pawel Osciak <[email protected]> Signed-off-by: Kiran AVND <[email protected]> Signed-off-by: Arun Kumar K <[email protected]> Signed-off-by: Kamil Debski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions