xhci: gracefully handle xhci_irq dead device
authorJoe Lawrence <joe.lawrence@stratus.com>
Thu, 30 Apr 2015 14:16:04 +0000 (17:16 +0300)
committerJiri Slaby <jslaby@suse.cz>
Wed, 3 Jun 2015 09:33:10 +0000 (11:33 +0200)
commit245ac1a15a1b1ba5ec60ca8479b6bd5451e55c0d
treeb7a312d74460e89ebe99f67b29910806575c4cd1
parentef4a35936faac72268fe6ae7e97120ad85b7b72d
xhci: gracefully handle xhci_irq dead device

commit 948fa13504f80b9765d2b753691ab94c83a10341 upstream.

If the xHCI host controller has died (ie, device removed) or suffered
other serious fatal error (STS_FATAL), then xhci_irq should handle this
condition with IRQ_HANDLED instead of -ESHUTDOWN.

Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/host/xhci-ring.c