[PATCH v5 6/7] clk: Make clk API return per-user struct clk instances
From: Tomeu Vizoso <hidden>
Date: 2014-11-19 14:56:16
Also in:
linux-omap, lkml
From: Tomeu Vizoso <hidden>
Date: 2014-11-19 14:56:16
Also in:
linux-omap, lkml
On 14 November 2014 08:06, Stephen Boyd [off-list ref] wrote:
On 10/30, Tomeu Vizoso wrote:quoted
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso <redacted>It would be good to have Russell at least ack the clkdev bits. There's still more work to do in the future here, but Reviewed-by: Stephen Boyd <redacted>
Thanks, Stephen. Russell, do you think we could have your ack? Regards, Tomeu