> From: Mathias Nyman, Sent: Monday, February 12, 2018 9:25 PM
> When disabling a USB3 port the hub driver will set the port link state to
> U3 to prevent "ejected" or "safely removed" devices that are still
> physically connected from immediately re-enumerating.
> If the device was really unplugged, then error messages were printed
> as the hub tries to set the U3 link state for a port that is no longer
> enabled.
> xhci-hcd ee000000.usb: Cannot set link state.
> usb usb8-port1: cannot disable (err = -32)
> Don't print error message in xhci-hub if hub tries to set port link state
> for a disabled port. Return -ENODEV instead which also silences hub driver.
> Signed-off-by: Mathias Nyman <mathias.ny...@linux.intel.com>

Thank you very much for the patch!
I tested this patch on my environment and then the error messages disappeared.

Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>

Best regards,
Yoshihiro Shimoda

To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to