From: Stanislaw Gruszka Date: Wed, 19 Feb 2014 09:29:01 +0000 (+0100) Subject: usb: ehci: fix deadlock when threadirqs option is used X-Git-Tag: v3.2.56~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0986dc71fb09d9916d5579c8c5e2f2c8099337d0;p=pandora-kernel.git usb: ehci: fix deadlock when threadirqs option is used commit a1227f3c1030e96ebc51d677d2f636268845c5fb upstream. 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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed