| From bfe973d01f2cd833198a3ccd034e7e77a597c77a Mon Sep 17 00:00:00 2001 |
| From: Mathias Nyman <mathias.nyman@linux.intel.com> |
| Date: Fri, 11 Nov 2016 15:13:10 +0200 |
| Subject: [PATCH 274/299] xhci: remove unnecessary xhci_quiesce call before |
| xhci_halt |
| |
| Fist function called in xhci_halt is xhci_quiesce, so no point |
| in calling it twice |
| |
| Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| (cherry picked from commit cf5d344e13655df2fcb049ae212fe59c617349a7) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/usb/host/xhci-ring.c | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- a/drivers/usb/host/xhci-ring.c |
| +++ b/drivers/usb/host/xhci-ring.c |
| @@ -353,7 +353,6 @@ static int xhci_abort_cmd_ring(struct xh |
| xhci_err(xhci, "Stopped the command ring failed, " |
| "maybe the host is dead\n"); |
| xhci->xhc_state |= XHCI_STATE_DYING; |
| - xhci_quiesce(xhci); |
| xhci_halt(xhci); |
| return -ESHUTDOWN; |
| } |