aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2018-07-02 09:31:32 +0200
committerLee Jones <[email protected]>2018-07-27 08:13:25 +0100
commit50d44f82c7f1b0d2676a7c5c11feb321e4ea6c44 (patch)
tree3d334ac1a0570fe99ae7ab38f0f3c43f319a03ad /tools/perf/scripts/python/export-to-postgresql.py
parentf99fea949736b6a79cddaaaec7e3b8830fd81c93 (diff)
mfd: dln2: Use irqsave() in USB's complete callback
The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the callback handler to disable the interrupts while acquiring the lock. The callback may be invoked either in IRQ or BH context depending on the USB host controller. Use the _irqsave() variant of the locking primitives. Reviewed-by: Johan Hovold <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions