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

Commit 83bf68d2 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-msm: Turn on iface_clk before accessing AHB2PHY registers"

parents 9f513e2d 5ff33ae3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2784,6 +2784,7 @@ static int dwc3_msm_probe(struct platform_device *pdev)
			 * turning on usb gdsc regulator clk is stuck off.
			 */
			dwc3_msm_config_gdsc(mdwc, 1);
			clk_prepare_enable(mdwc->iface_clk);
			clk_prepare_enable(mdwc->cfg_ahb_clk);
			/* Configure AHB2PHY for one wait state read/write*/
			val = readl_relaxed(mdwc->ahb2phy_base +
@@ -2796,6 +2797,7 @@ static int dwc3_msm_probe(struct platform_device *pdev)
				mb();
			}
			clk_disable_unprepare(mdwc->cfg_ahb_clk);
			clk_disable_unprepare(mdwc->iface_clk);
			dwc3_msm_config_gdsc(mdwc, 0);
		}
	}