We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f875fdb commit f84839dCopy full SHA for f84839d
drivers/usb/chipidea/udc.c
@@ -1667,13 +1667,13 @@ static int ci_udc_stop(struct usb_gadget *gadget,
1667
if (ci->platdata->notify_event)
1668
ci->platdata->notify_event(ci,
1669
CI_HDRC_CONTROLLER_STOPPED_EVENT);
1670
- ci->driver = NULL;
1671
spin_unlock_irqrestore(&ci->lock, flags);
1672
_gadget_stop_activity(&ci->gadget);
1673
spin_lock_irqsave(&ci->lock, flags);
1674
pm_runtime_put(&ci->gadget.dev);
1675
}
1676
+ ci->driver = NULL;
1677
1678
1679
return 0;
0 commit comments