summaryrefslogtreecommitdiff
path: root/drivers/usb/image
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-06-24 01:32:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 10:20:33 +0300
commit12b803e03d3156aa83f9446c91551da72233bf5e (patch)
treee2e85b763197e5d1ad3c78c7f4823f50c2f611b9 /drivers/usb/image
parent4a5bf2de396f1a310285cbcba59a3be0528140e3 (diff)
downloadlinux-12b803e03d3156aa83f9446c91551da72233bf5e.tar.xz
USB: serial: io_edgeport: use irqsave() in USB's complete callback
[ Upstream commit dd1fae527612543e560e84f2eba4f6ef2006ac55 ] 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 <john.ogness@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb/image')
0 files changed, 0 insertions, 0 deletions