mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
USB: xhci: Clean up xhci_irq() function.
Drop spinlock in xhci_irq() error path. This fixes the issue reported by Oliver Neukum on this thread: http://marc.info/?l=linux-usb&m=124090924401444&w=2 Remove unnecessary register read reported by Viral Mehta: http://marc.info/?l=linux-usb&m=124091326007398&w=2 Reported-by: Oliver Neukum <[email protected]> Reported-by: Viral Mehta <[email protected]> Signed-off-by: Sarah Sharp <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
23e3be113f
commit
c96a2b81f3
1 changed files with 1 additions and 1 deletions
|
|
@ -276,11 +276,11 @@ irqreturn_t xhci_irq(struct usb_hcd *hcd)
|
|||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
temp = xhci_readl(xhci, &xhci->op_regs->status);
|
||||
if (temp & STS_FATAL) {
|
||||
xhci_warn(xhci, "WARNING: Host System Error\n");
|
||||
xhci_halt(xhci);
|
||||
xhci_to_hcd(xhci)->state = HC_STATE_HALT;
|
||||
spin_unlock(&xhci->lock);
|
||||
return -ESHUTDOWN;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue