diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2018-09-04 16:35:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-05 14:36:53 +0200 |
commit | f3dc41c5d22b2ca14a0802a65d8cdc33a3882d4e (patch) | |
tree | 10ec33ea71c9fb16a0fa965e0b47a3439f6f7f70 /drivers/usb/host/ohci-nxp.c | |
parent | usb: mtu3: fix error of xhci port id when enable U3 dual role (diff) | |
download | linux-f3dc41c5d22b2ca14a0802a65d8cdc33a3882d4e.tar.xz linux-f3dc41c5d22b2ca14a0802a65d8cdc33a3882d4e.zip |
usb: Don't die twice if PCI xhci host is not responding in resume
usb_hc_died() should only be called once, and with the primary HCD
as parameter. It will mark both primary and secondary hcd's dead.
Remove the extra call to usb_cd_died with the shared hcd as parameter.
Fixes: ff9d78b36f76 ("USB: Set usb_hcd->state and flags for shared roothubs")
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-nxp.c')
0 files changed, 0 insertions, 0 deletions