Thread (4 messages) 4 messages, 2 authors, 2020-12-23

Re: [RESEND] usb: dwc3: meson-g12a: disable clk on error handling path in probe

From: Zheng Zengkai <hidden>
Date: 2020-12-23 02:14:05
Also in: linux-amlogic, linux-usb, lkml

Hi everyone,

Friendly ping:

Just want to know why this patch was ignored,

Am I missing something?

Merry Christmas and Happy New Year!
quoted hunk ↗ jump to hunk
dwc3_meson_g12a_probe() does not invoke clk_bulk_disable_unprepare()
on one error handling path. This patch fixes that.

Fixes: 347052e3bf1b ("usb: dwc3: meson-g12a: fix USB2 PHY initialization on G12A and A1 SoCs")
Reported-by: Hulk Robot <redacted>
Signed-off-by: Zheng Zengkai <redacted>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
  drivers/usb/dwc3/dwc3-meson-g12a.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c
index 417e05381b5d..bdf1f98dfad8 100644
--- a/drivers/usb/dwc3/dwc3-meson-g12a.c
+++ b/drivers/usb/dwc3/dwc3-meson-g12a.c
@@ -754,7 +754,7 @@ static int dwc3_meson_g12a_probe(struct platform_device *pdev)
  
  	ret = priv->drvdata->setup_regmaps(priv, base);
  	if (ret)
-		return ret;
+		goto err_disable_clks;
  
  	if (priv->vbus) {
  		ret = regulator_enable(priv->vbus);
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help