[PATCH 1/3] phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sat Nov 14 14:13:18 EST 2020


Hi Amjad,

On Fri, Nov 13, 2020 at 1:06 AM Amjad Ouled-Ameur
<aouledameur at baylibre.com> wrote:
[...]
> @@ -124,6 +126,7 @@ static int phy_meson_gxl_usb2_exit(struct phy *phy)
>  {
>         struct phy_meson_gxl_usb2_priv *priv = phy_get_drvdata(phy);
>
> +       reset_control_rearm(priv->reset);
please move reset_control_rearm after clk_disable_unprepare as
mentioned on the other patch to clean things up in reverse order of
initialization

>         clk_disable_unprepare(priv->clk);


Thank you
Martin



More information about the linux-amlogic mailing list