[PATCH v3 5/7] ARM: pxa: add rtc dummy clock

Haojian Zhuang haojian.zhuang at gmail.com
Fri Feb 24 01:36:26 EST 2012


On Fri, Feb 24, 2012 at 12:27 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Fri, Feb 24, 2012 at 12:00:49AM +0800, Haojian Zhuang wrote:
>> sa1100-rtc driver could be shared among sa1100/pxa/mmp series silicon.
>> Since clk is used in mmp series silicon, add dummy clock support in
>> pxa also.
>>
>> Signed-off-by: Haojian Zhuang <haojian.zhuang at marvell.com>
>> ---
>>  arch/arm/mach-pxa/pxa25x.c |    1 +
>>  arch/arm/mach-pxa/pxa27x.c |    1 +
>>  arch/arm/mach-pxa/pxa3xx.c |    1 +
>>  arch/arm/mach-pxa/pxa95x.c |    1 +
>>  4 files changed, 4 insertions(+), 0 deletions(-)
>
> This is missing changes in arch/arm/mach-pxa/clock.c to prevent clk_enable()
> etc oopsing when called with a NULL clock.
>
Since I'm still using existed dummy clock in arch-pxa, I needn't to
append checking for NULL clock. The dummy clock do nothing for
clk_enable() & clk_disable().

I'll remove dummy clock in arch-pxa later.

Thanks
Haojian



More information about the linux-arm-kernel mailing list