commit | c11ae038d62bf07231be7b813435e5067c978ddc | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Fri Nov 11 15:13:12 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 14 10:18:21 2016 +0100 |
tree | 45509002a08622b466fad822c26a0e620505d61e | |
parent | 99154fd3aa9ce49f0fb842f2b07f174ae7345b64 [diff] |
xhci: don't try to reset the host if it is unaccessible There is no point in trying to reset the host controller by writing to its registers if host is removed and registers just return 0xffffffff bail out and return -ENODEV instead Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>