diff options
author | 2025-07-17 10:31:06 +0300 | |
---|---|---|
committer | 2025-07-17 10:53:04 +0200 | |
commit | 65fc0fc137b5da3ee1f4ca4f61050fcb203d7582 (patch) | |
tree | 8e4a08914f4f2c362ea6125720622a11f1b532dc /tools/perf/scripts/python | |
parent | usb: xhci: Avoid showing errors during surprise removal (diff) | |
download | wireguard-linux-65fc0fc137b5da3ee1f4ca4f61050fcb203d7582.tar.xz wireguard-linux-65fc0fc137b5da3ee1f4ca4f61050fcb203d7582.zip |
usb: xhci: Avoid showing warnings for dying controller
When a USB4 dock is unplugged from a system it won't respond to ring
events. The PCI core handles the surprise removal event and notifies
all PCI drivers. The XHCI PCI driver sets a flag that the device is
being removed, and when the device stops responding a flag is also
added to indicate it's dying.
When that flag is set don't bother to show warnings about a missing
controller.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20250717073107.488599-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions