Message ID | 20190911064154.28633-2-nicolas.ferre@microchip.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 9c4567fa0a44e3733f49f93a2197d9907b836d4a |
Headers | show |
Series | USB: host: ohci-at91: tailor power consumption | expand |
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index fc35a7993b7b..cb63bcd5049a 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -123,7 +123,7 @@ static void at91_stop_hc(struct platform_device *pdev) /* * Put the USB host controller into reset. */ - writel(0, ®s->control); + usb_hcd_platform_shutdown(pdev); /* * Stop the USB clocks.