usb: core: remove local_irq_save() around ->complete() handler
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 10 Sep 2018 09:20:00 +0000 (11:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 17:35:46 +0000 (19:35 +0200)
commited194d1367698a0872a2b75bbe06b3932ce9df3a
tree74733668ae8a526023e7be641b77ad562d387e9b
parent3f3ff6e0d881366bf7721fd5cf36c16068107138
usb: core: remove local_irq_save() around ->complete() handler

The core disabled interrupts before invocation the ->complete handler
because the handler might have expected that interrupts are disabled.

All handlers were audited and use proper locking now. With it, the core
code no longer needs to disable interrupts before invoking the
->complete handler.
Remove local_irq_save() statement before invoking the ->complete
handler.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c