aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2018-06-24 00:32:15 +0200
committerJohan Hovold <[email protected]>2018-06-26 15:28:15 +0200
commita323f94611aac0f68b710048ae53c73a53b5c7b5 (patch)
treefa2d0f647abea5033b4501f73fe03ea955f08474 /tools/perf/util/trace-event-scripting.c
parentcf83be24b2efc423f6869a155372e3694c12a558 (diff)
USB: serial: usb_wwan: 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. Signed-off-by: John Ogness <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions