Message ID | 20200225183057.31953-1-erosca@de.adit-jv.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 63d6d7ed475c53dc1cabdfedf63de1fd8dcd72ee |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | [v2] usb: hub: Fix unhandled return value of usb_autopm_get_interface() | expand |
Hello: The following patches were marked "accepted", because they were applied to geert/renesas-devel (refs/heads/master): Patch: [v2] usb: hub: Fix unhandled return value of usb_autopm_get_interface() Submitter: Eugeniu Rosca <erosca@de.adit-jv.com> Patchwork: https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=247249 Total patches: 1
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)