]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2xxx clock: init osc_ck, sys_ck internal lists early
authorPaul Walmsley <paul@pwsan.com>
Fri, 10 Apr 2009 02:20:41 +0000 (20:20 -0600)
committerpaul <paul@twilight.(none)>
Fri, 10 Apr 2009 02:20:41 +0000 (20:20 -0600)
commitbe99ca4dd45b5ffc3ff30b2c80d7103aa1451afc
treec74a620db94d9c66a06d1e28f1440ddc11a112d3
parent15f7176eb1cccec0a332541285ee752b935c1c85
OMAP2xxx clock: init osc_ck, sys_ck internal lists early

Commit 3f0a820c4c0b4670fb5f164baa5582e23c2ef118 breaks OMAP2xxx boot
during initial propagate_rate() on osc_ck and sys_ck.  Fix by calling
clk_init_one() for these clocks first.

Resolves

<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
<1>pgd = c0004000
<1>[00000000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.29-omap1 #37)
PC is at propagate_rate+0x10/0x60
LR is at omap2_clk_init+0x30/0x218
...

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/mach-omap2/clock24xx.c