]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2 clock: associate clocks with clockdomains at startup
authorPaul Walmsley <paul@pwsan.com>
Tue, 12 Aug 2008 21:31:44 +0000 (15:31 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 13 Aug 2008 07:40:56 +0000 (10:40 +0300)
commitbaee1ca8e61aa9df034e1706052a0eefc193f688
tree9ae8fea7736fafafa97d3713a95abbaf2f0982c9
parenta061ffb91867aa6db04db3205f465cd4cb133c9c
OMAP2 clock: associate clocks with clockdomains at startup

The OMAP2 clock code was missing code to associate clocks with clockdomains
at registration time; fix this.

Resolves "Unhandled fault: alignment exception (0x001) at 0xc02c1b4e" (address
may vary) panic during clock framework init on OMAP2.  The alignment error
was caused by an attempt to dereference a pointer to a string (1-byte aligned)
as if it were a pointer to a structure.

Thanks to Felipe Balbi <felipe.balbi@nokia.com> for originally reporting this
bug.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.c