Re: [PATCH v2 08/15] phy: cadence-torrent: extract calls to clk_get from cdns_torrent_clk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 26, 2024 at 4:37 PM Thomas Richard
<thomas.richard@xxxxxxxxxxx> wrote:
>
> Extract calls to clk_get from cdns_torrent_clk into a separate function.
> It needs to call cdns_torrent_clk at resume without looking up the clock.
>
> Based on the work of Théo Lebrun <theo.lebrun@xxxxxxxxxxx>

(Just a side question: Have you used --histogram diff algo when
preparing the series? Please use, if not)

...


> -       cdns_phy->clk = devm_clk_get(dev, "refclk");
> +       cdns_phy->clk = devm_clk_get(cdns_phy->dev, "refclk");
>         if (IS_ERR(cdns_phy->clk)) {
> -               dev_err(dev, "phy ref clock not found\n");
> +               dev_err(cdns_phy->dev, "phy ref clock not found\n");
>                 return PTR_ERR(cdns_phy->clk);
>         }

Same issue as I noted in a previous email.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux