Merge branch 'linux-3.19' of git://anongit.freedesktop.org/git/nouveau/linux-2.6...
[firefly-linux-kernel-4.4.55.git] / drivers / usb / dwc3 / dwc3-st.c
index c7602b5362add8c1be17d7f8a8a57702724ff7f0..4a1a543deeda7c61b0b8378fc9a1e36553f44372 100644 (file)
@@ -243,7 +243,7 @@ static int st_dwc3_probe(struct platform_device *pdev)
        dwc3_data->rstc_rst = devm_reset_control_get(dev, "softreset");
        if (IS_ERR(dwc3_data->rstc_rst)) {
                dev_err(&pdev->dev, "could not get reset controller\n");
-               ret = PTR_ERR(dwc3_data->rstc_pwrdn);
+               ret = PTR_ERR(dwc3_data->rstc_rst);
                goto undo_powerdown;
        }