diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2017-10-05 11:21:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-05 11:01:58 +0200 |
commit | dcabc76fa9361186e6b88c30a68db8fa9d5b4a1c (patch) | |
tree | 9e46fb415ea7e47d89a39d4b499f39367be6e671 /drivers/sfi/Kconfig | |
parent | 11ec7588a10d4bc2e1e385ac565d2166d375fba1 (diff) |
usb: xhci: Return error when host is dead in xhci_disable_slot()
xhci_disable_slot() is a helper for disabling a slot when a device
goes away or recovers from error situations. Currently, it returns
success when it sees a dead host. This is not the right way to go.
It should return error and let the invoker know that disable slot
command was failed due to a dead host.
Fixes: f9e609b82479 ("usb: xhci: Add helper function xhci_disable_slot().")
Cc: Guoqing Zhang <guoqing.zhang@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sfi/Kconfig')
0 files changed, 0 insertions, 0 deletions