diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index f8feb085bb5f8..46cb20f63da9c 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -3027,6 +3027,7 @@ void usb_remove_hcd(struct usb_hcd *hcd) } usb_put_invalidate_rhdev(hcd); + hcd->flags = 0; } EXPORT_SYMBOL_GPL(usb_remove_hcd);