From e6282b64a8347281312635c9b9145eea44ef14cb Mon Sep 17 00:00:00 2001 From: Stefan Eichenberger Date: Wed, 7 Jun 2023 10:07:40 +0200 Subject: usb: dwc3: imx8mp: fix bus_early device tree property name When adding the bus_early device tree property, bus_early_clk was incorrectly used as name. This commit changes the property name to bus_early, which is consistent with the other clocks. Upstream-Status: Inappropriate [other] This fix is only needed for the downstream kernel. In the upstream kernel they added a power-domain for all hsio devices (usb, pcie, etc.) and enable the clock there. However, backporting this solution would probably cause more issues for now. Fixes: 4d948676c55f("usb: dwc3: imx8mp: add bus_early_clk") Signed-off-by: Stefan Eichenberger --- drivers/usb/dwc3/dwc3-imx8mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-imx8mp.c b/drivers/usb/dwc3/dwc3-imx8mp.c index 1b3097eb0aed..7be67e777dfa 100644 --- a/drivers/usb/dwc3/dwc3-imx8mp.c +++ b/drivers/usb/dwc3/dwc3-imx8mp.c @@ -221,7 +221,7 @@ static int dwc3_imx8mp_probe(struct platform_device *pdev) request_bus_freq(BUS_FREQ_HIGH); - dwc3_imx->bus_early_clk = devm_clk_get(dev, "bus_early_clk"); + dwc3_imx->bus_early_clk = devm_clk_get(dev, "bus_early"); if (IS_ERR(dwc3_imx->bus_early_clk)) { err = PTR_ERR(dwc3_imx->bus_early_clk); dev_err(dev, "Failed to get bus_early_clk clk, err=%d\n", err); -- cgit v1.2.3