Commit a7f20b26 authored by Paul Walmsley's avatar Paul Walmsley Committed by paul

OMAP2xxx clock: set up clockdomain pointer in struct clk

clock24xx.c is missing a omap2_init_clk_clkdm() in its
omap2_clk_init() function.  Among other bad effects, this causes the
OMAP hwmod layer to oops on boot.

Thanks to Carlos Aguiar <carlos.aguiar@indt.org.br> and Stefano
Panella <Stefano.Panella@csr.com> for reporting this bug.  Thanks to Tony
Lindgren <tony@atomide.com> for N800 booting advice.
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Cc: Carlos Aguiar <carlos.aguiar@indt.org.br>
Cc: Stefano Panella <Stefano.Panella@csr.com>
Cc: Tony Lindgren <tony@atomide.com>
parent a0219fbd
...@@ -769,6 +769,7 @@ int __init omap2_clk_init(void) ...@@ -769,6 +769,7 @@ int __init omap2_clk_init(void)
if (c->cpu & cpu_mask) { if (c->cpu & cpu_mask) {
clkdev_add(&c->lk); clkdev_add(&c->lk);
clk_register(c->lk.clk); clk_register(c->lk.clk);
omap2_init_clk_clkdm(c->lk.clk);
} }
/* Check the MPU rate set by bootloader */ /* Check the MPU rate set by bootloader */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment