Re: [PATCH] clk: samsung: Use clk_hw API for calling clk framework from clk notifiers

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

 



Quoting Marek Szyprowski (2018-10-02 04:52:10)
> @@ -432,7 +432,7 @@ int __init exynos_register_cpu_clock(struct samsung_clk_provider *ctx,
>         else
>                 cpuclk->clk_nb.notifier_call = exynos_cpuclk_notifier_cb;
>  
> -       cpuclk->alt_parent = __clk_lookup(alt_parent);
> +       cpuclk->alt_parent = __clk_get_hw(__clk_lookup(alt_parent));

It would be nice to get rid of __clk_lookup() from here too. Please try
to do that if at all possible.

>         if (!cpuclk->alt_parent) {
>                 pr_err("%s: could not lookup alternate parent %s\n",
>                                 __func__, alt_parent);




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux