diff options
| author | Su Hui <[email protected]> | 2025-07-25 06:01:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-07-25 08:50:24 +0000 |
| commit | 7919407eca2ef562fa6c98c41cfdf6f6cdd69d92 (patch) | |
| tree | 9fd94e30d06701085bd45194dac9bd49e8be6841 /drivers/platform/x86/intel/pmt/class.c | |
| parent | Merge tag 'usb-serial-6.17-rc1-2' of ssh://gitolite.kernel.org/pub/scm/linux/... (diff) | |
| download | kernel-7919407eca2ef562fa6c98c41cfdf6f6cdd69d92.tar.gz kernel-7919407eca2ef562fa6c98c41cfdf6f6cdd69d92.zip | |
usb: xhci: print xhci->xhc_state when queue_command failed
When encounters some errors like these:
xhci_hcd 0000:4a:00.2: xHCI dying or halted, can't queue_command
xhci_hcd 0000:4a:00.2: FIXME: allocate a command ring segment
usb usb5-port6: couldn't allocate usb_device
It's hard to know whether xhc_state is dying or halted. So it's better
to print xhc_state's value which can help locate the resaon of the bug.
Signed-off-by: Su Hui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
