[PATCH 3/4] ARM: SAMSUNG SoC: Clock Framework: Flag Support for struct clk.

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jul 19 04:57:30 EDT 2010


On Mon, Jul 19, 2010 at 05:30:35PM +0900, MyungJoo Ham wrote:
> +#ifdef CONFIG_SAMSUNG_POWERDOMAIN
> +		if ((clk->flags | CLKFLAGS_BOOT_ON) &&

This is always true if CLKFLAGS_BOOT_ON is non-zero.

> +				!(clk->flags | CLKFLAGS_CANNOT_DISABLE)) {

This is always false if CLKFLAGS_CANNOT_DISABLE is non-zero.

> +		if (clk->enable && !(clk->flags | CLKFLAGS_CANNOT_DISABLE))

Always false...



More information about the linux-arm-kernel mailing list