[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJq09z4_m5T+bHZR=kPrn-6u-KMxpTE0YJ=gJXOHUkpqm7ZOqg@mail.gmail.com>
Date: Tue, 24 Oct 2023 19:17:10 -0300
From: Luiz Angelo Daros de Luca <luizluca@...il.com>
To: linus.walleij@...aro.org
Cc: alsi@...g-olufsen.dk, andrew@...n.ch, vivien.didelot@...il.com,
f.fainelli@...il.com, olteanv@...il.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, pabeni@...hat.com, robh+dt@...nel.org,
krzk+dt@...nel.org, arinc.unal@...nc9.com
Subject: Re: [PATCH net-next 1/2] net: dsa: realtek: support reset controller
Hi Linus,
> - /* TODO: if power is software controlled, set up any regulators here */
> +#ifdef CONFIG_RESET_CONTROLLER
> + priv->reset_ctl = devm_reset_control_get(dev, "switch");
> + if (IS_ERR(priv->reset_ctl)) {
> + dev_err(dev, "failed to get switch reset control\n");
> + return PTR_ERR(priv->reset_ctl);
> + }
> +#endif
I'm dropping this TODO as I think it means something like this reset
control, right?
Regards,
Luiz
Powered by blists - more mailing lists