clock framework: Don't disable a clock already enabled by boot loader?

Shawn Guo shawn.guo at linaro.org
Sat May 25 02:54:36 EDT 2013


On Sat, May 25, 2013 at 07:59:45AM +0200, Dirk Behme wrote:
> Hmm, but what's the best way to set a flag in
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-imx/clk-imx6q.c
> 
> ?
> 
> In mx6q_clocks_init() there doesn't seem to be an explicit interface
> to set the flags?
> 
> I'm not sure if
> 
> clk[xxx]->flags |= CLK_IGNORE_UNUSED;
> 
> is the way to go?
> 
Commit 1e43525 (clk: add clk_ignore_unused option to keep boot clocks
on) introduced an option "clk_ignore_unused" for bypassing
clk_disable_unused() call.

Shawn




More information about the linux-arm-kernel mailing list