Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdf78e60 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: dwc3: Fix usb host mode device rebooting in loop issue"

parents e1d4e497 58d201c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2966,6 +2966,7 @@ static int dwc3_msm_probe(struct platform_device *pdev)
			 */
			dwc3_msm_config_gdsc(mdwc, 1);
			clk_prepare_enable(mdwc->iface_clk);
			clk_prepare_enable(mdwc->core_clk);
			clk_prepare_enable(mdwc->cfg_ahb_clk);
			/* Configure AHB2PHY for one wait state read/write*/
			val = readl_relaxed(mdwc->ahb2phy_base +
@@ -2978,6 +2979,7 @@ static int dwc3_msm_probe(struct platform_device *pdev)
				mb();
			}
			clk_disable_unprepare(mdwc->cfg_ahb_clk);
			clk_disable_unprepare(mdwc->core_clk);
			clk_disable_unprepare(mdwc->iface_clk);
			dwc3_msm_config_gdsc(mdwc, 0);
		}