mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "usb: dwc3: request 2mA VBUS current when suspending"
This commit is contained in:
commit
dd5ffe4e30
1 changed files with 2 additions and 0 deletions
|
|
@ -3472,6 +3472,8 @@ static void dwc3_gadget_interrupt(struct dwc3 *dwc,
|
|||
if (dwc->gadget.state >= USB_STATE_CONFIGURED)
|
||||
dwc3_gadget_suspend_interrupt(dwc,
|
||||
event->event_info);
|
||||
else
|
||||
usb_gadget_vbus_draw(&dwc->gadget, 2);
|
||||
}
|
||||
break;
|
||||
case DWC3_DEVICE_EVENT_SOF:
|
||||
|
|
|
|||
Loading…
Reference in a new issue