summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/connector
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-25 00:08:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 12:36:07 +0200
commit579b9cca2bff170ac4c4487de6e8ebff7906b3a6 (patch)
treec9a7543b9a89e14fc130f3525e46ee3dda10966f /Documentation/devicetree/bindings/connector
parentNFC: nfcmrvl_usb: use irqsave() in USB's complete callback (diff)
downloadlinux-579b9cca2bff170ac4c4487de6e8ebff7906b3a6.tar.xz
linux-579b9cca2bff170ac4c4487de6e8ebff7906b3a6.zip
usb: cdc-wdm: 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. Cc: Oliver Neukum <oneukum@suse.com> Cc: "Bjørn Mork" <bjorn@mork.no> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/connector')
0 files changed, 0 insertions, 0 deletions