]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:21 +0000 (12:45 -0700)
commit35dda5a304da9f4bc80ef35d49d015bf96ec00fb
tree0ad85e06ae5d733e3371506801259253eab42bbc
parent1c3c76927b92b3c23f58a79b68efc3d15943ba30
xhci: Avoid BUG() in interrupt context

commit 68e41c5d032668e2905404afbef75bc58be179d6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-ring.c