]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xhci: Avoid BUG() in interrupt context
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Sat, 12 Feb 2011 22:06:06 +0000 (14:06 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Sun, 20 Feb 2011 15:01:26 +0000 (07:01 -0800)
commit68e41c5d032668e2905404afbef75bc58be179d6
tree5fbdd52b525f59f0883d8668ee9b79b392753979
parent9ce4f80fb67b47b96c647ac6280a06dbd4bb50d2
xhci: Avoid BUG() in interrupt context

Change the BUGs in xhci_find_new_dequeue_state() to WARN_ONs, to avoid
bringing down the box if one of them is hit

This patch should be queued for stable kernels back to 2.6.31.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@kernel.org
drivers/usb/host/xhci-ring.c