Message ID | 20200225183057.31953-1-erosca@de.adit-jv.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 63d6d7ed475c53dc1cabdfedf63de1fd8dcd72ee |
Headers | show |
Series | [v2] usb: hub: Fix unhandled return value of usb_autopm_get_interface() | expand |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 1d212f82c69b..1105983b5c1c 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -1866,7 +1866,7 @@ static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id) if (id->driver_info & HUB_QUIRK_DISABLE_AUTOSUSPEND) { hub->quirk_disable_autosuspend = 1; - usb_autopm_get_interface(intf); + usb_autopm_get_interface_no_resume(intf); } if (hub_configure(hub, &desc->endpoint[0].desc) >= 0)