commit | 99154fd3aa9ce49f0fb842f2b07f174ae7345b64 | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Fri Nov 11 15:13:11 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 14 10:18:21 2016 +0100 |
tree | 176ce87acb8d483d6c00c6f70a9f9728cd13e077 | |
parent | cf5d344e13655df2fcb049ae212fe59c617349a7 [diff] |
xhci: cleanup error message if halting the host failed. The old error message always stated that host was not halted even after trying a certain time. Host may fail the halt immediately as well with -ENODEV if device is removed and returns 0xffffffff. Use a more generic error message and show return value to know if we failed with -ETIMEDOUT or -ENODEV Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>