Re: [PATCH v2 1/2] clk: provide devm_clk_get_optional_enabled_with_rate()

From: Bartosz Golaszewski
Date: Mon Sep 09 2024 - 02:41:52 EST


On Thu, Sep 5, 2024 at 11:42 PM Stephen Boyd <sboyd@xxxxxxxxxx> wrote:
>
> Quoting Bartosz Golaszewski (2024-08-05 01:57:31)
> > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> >
> > There are clock users in the kernel that can't use
> > devm_clk_get_optional_enabled() as they need to set rate after getting
> > the clock and before enabling it. Provide a managed helper that wraps
> > these operations in the correct order.
> >
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> > ---
>
> Applied to clk-next

Thanks, I will add some users in the next cycle. Unless Luiz really
wants to play with cross-tree merges again. :)

Bart