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 c0ff2de commit 9441b29Copy full SHA for 9441b29
drivers/usb/chipidea/udc.c
@@ -1671,13 +1671,13 @@ static int ci_udc_stop(struct usb_gadget *gadget,
1671
if (ci->platdata->notify_event)
1672
ci->platdata->notify_event(ci,
1673
CI_HDRC_CONTROLLER_STOPPED_EVENT);
1674
- ci->driver = NULL;
1675
spin_unlock_irqrestore(&ci->lock, flags);
1676
_gadget_stop_activity(&ci->gadget);
1677
spin_lock_irqsave(&ci->lock, flags);
1678
pm_runtime_put(&ci->gadget.dev);
1679
}
1680
+ ci->driver = NULL;
1681
1682
1683
return 0;
0 commit comments