usb: dwc3: meson-g12a: get the reset as shared
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 26 Mar 2020 13:44:56 +0000 (14:44 +0100)
committerFelipe Balbi <balbi@kernel.org>
Tue, 5 May 2020 08:00:12 +0000 (11:00 +0300)
In order to support the Amlogic GXL/GXM SoCs, the reset line must
be handled as shared since also used by the PHYs.

Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/dwc3-meson-g12a.c

index d7eff4d..4be3ab6 100644 (file)
@@ -566,7 +566,7 @@ static int dwc3_meson_g12a_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, priv);
 
-       priv->reset = devm_reset_control_get(dev, NULL);
+       priv->reset = devm_reset_control_get_shared(dev, NULL);
        if (IS_ERR(priv->reset)) {
                ret = PTR_ERR(priv->reset);
                dev_err(dev, "failed to get device reset, err=%d\n", ret);