aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2015-05-21 03:48:38 +0000
committerMark Brown <[email protected]>2015-05-22 14:14:21 +0100
commitd23c9a0a5c237210bccb82a2e9dc0d26e75920ee (patch)
tree03d2326d7ab8790b5ac681d8947a46c9885f0cfe /tools/perf/scripts/python/export-to-postgresql.py
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
dmaengine: rcar-dmac: fixup spinlock in rcar-dmac
Current rcar-dmac driver is using spin_lock_irq() / spin_unlock_irq() in some functions. But, some other driver might call DMAEngine API during interrupt disabled. In such case, rcar-dmac side spin_unlock_irq() forcefully allows all interrupts. Therefore, other driver receives unexpected interruption, and its exclusive access control will be broken. This patch replaces spin_lock_irq() to spin_lock_irqsave(), and spin_unlock_irq() to spin_unlock_irqrestore(). Reported-by: Cao Minh Hiep <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Tested-by: Keita Kobayashi <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions