diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2014-02-19 10:29:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-26 15:46:42 -0800 |
commit | a1227f3c1030e96ebc51d677d2f636268845c5fb (patch) | |
tree | a886ebd7fb7102a20de3a9fca88bee7efc3f8794 /drivers/usb/chipidea/usbmisc_imx.c | |
parent | 6dbd46c849e071e6afc1e0cad489b0175bca9318 (diff) |
usb: ehci: fix deadlock when threadirqs option is used
ehci_irq() and ehci_hrtimer_func() can deadlock on ehci->lock when
threadirqs option is used. To prevent the deadlock use
spin_lock_irqsave() in ehci_irq().
This change can be reverted when hrtimer callbacks become threaded.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/usbmisc_imx.c')
0 files changed, 0 insertions, 0 deletions