git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ef345
)
powerpc/512x: initialize clocks before bus probing
author
Anatolij Gustschin
<agust@denx.de>
Fri, 25 Jan 2013 16:29:21 +0000
(17:29 +0100)
committer
Anatolij Gustschin
<agust@denx.de>
Tue, 29 Jan 2013 08:22:53 +0000
(09:22 +0100)
Early driver probing can fail due to not available clocks
(clk_get() fails) since the clk API init didn't take place yet.
Move clocks init before bus probing.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/512x/mpc512x_shared.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/512x/mpc512x_shared.c
b/arch/powerpc/platforms/512x/mpc512x_shared.c
index
35f14fd
..
c344438
100644
(file)
--- a/
arch/powerpc/platforms/512x/mpc512x_shared.c
+++ b/
arch/powerpc/platforms/512x/mpc512x_shared.c
@@
-431,8
+431,8
@@
void __init mpc512x_psc_fifo_init(void)
void __init mpc512x_init(void)
{
- mpc512x_declare_of_platform_devices();
mpc5121_clk_init();
+ mpc512x_declare_of_platform_devices();
mpc512x_restart_init();
mpc512x_psc_fifo_init();
}