diff options
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
-rw-r--r-- | drivers/usb/dwc2/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 88629bed6614..fc6f5251de5d 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c | |||
@@ -562,7 +562,7 @@ static int dwc2_driver_probe(struct platform_device *dev) | |||
562 | 562 | ||
563 | retval = dwc2_get_dr_mode(hsotg); | 563 | retval = dwc2_get_dr_mode(hsotg); |
564 | if (retval) | 564 | if (retval) |
565 | return retval; | 565 | goto error; |
566 | 566 | ||
567 | /* | 567 | /* |
568 | * Reset before dwc2_get_hwparams() then it could get power-on real | 568 | * Reset before dwc2_get_hwparams() then it could get power-on real |