mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Merge "usb: dwc3: gadget: update the return value of pullup function"
This commit is contained in:
commit
058b861752
1 changed files with 1 additions and 1 deletions
|
|
@ -2160,7 +2160,7 @@ static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)
|
|||
spin_unlock_irqrestore(&dwc->lock, flags);
|
||||
if (!is_on && ret == -ETIMEDOUT) {
|
||||
dev_err(dwc->dev, "%s: Core soft reset...\n", __func__);
|
||||
dwc3_device_core_soft_reset(dwc);
|
||||
ret = dwc3_device_core_soft_reset(dwc);
|
||||
}
|
||||
enable_irq(dwc->irq);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue