diff options
Diffstat (limited to 'drivers/usb/dwc3/dwc3-st.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-st.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c index 5c0adb9c6fb2..b204617ea4e6 100644 --- a/drivers/usb/dwc3/dwc3-st.c +++ b/drivers/usb/dwc3/dwc3-st.c | |||
@@ -237,7 +237,8 @@ static int st_dwc3_probe(struct platform_device *pdev) | |||
237 | /* Manage PowerDown */ | 237 | /* Manage PowerDown */ |
238 | reset_control_deassert(dwc3_data->rstc_pwrdn); | 238 | reset_control_deassert(dwc3_data->rstc_pwrdn); |
239 | 239 | ||
240 | dwc3_data->rstc_rst = devm_reset_control_get(dev, "softreset"); | 240 | dwc3_data->rstc_rst = |
241 | devm_reset_control_get_shared(dev, "softreset"); | ||
241 | if (IS_ERR(dwc3_data->rstc_rst)) { | 242 | if (IS_ERR(dwc3_data->rstc_rst)) { |
242 | dev_err(&pdev->dev, "could not get reset controller\n"); | 243 | dev_err(&pdev->dev, "could not get reset controller\n"); |
243 | ret = PTR_ERR(dwc3_data->rstc_rst); | 244 | ret = PTR_ERR(dwc3_data->rstc_rst); |