public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] OMAP3 Touchbook: fix board initialization
@ 2011-02-24 18:02 Radek (Mrkva) Pilař
  2011-02-24 22:31 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Radek (Mrkva) Pilař @ 2011-02-24 18:02 UTC (permalink / raw)
  To: linux-omap

init_early hook runs too early for omap3_mux_init(), so the board 
won't boot. Moved to init_machine, then it works just fine.

Signed-off-by: Radek Pilar <mrkva@mrkva.eu>
---
 arch/arm/mach-omap2/board-omap3touchbook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c 
b/arch/arm/mach-omap2/board-omap3touchbook.c
index e65a32d..3b560d7 100644
--- a/arch/arm/mach-omap2/board-omap3touchbook.c
+++ b/arch/arm/mach-omap2/board-omap3touchbook.c
@@ -416,7 +416,6 @@ static struct omap_board_mux board_mux[] 
__initdata = {

 static void __init omap3_touchbook_init_early(void)
 {
-	omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
 	omap_board_config = omap3_touchbook_config;
 	omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config);
 	omap2_init_common_infrastructure();
@@ -513,6 +512,7 @@ static struct omap_musb_board_data musb_board_data 
= {

 static void __init omap3_touchbook_init(void)
 {
+	omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
 	pm_power_off = omap3_touchbook_poweroff;

 	omap3_touchbook_i2c_init();
--
1.7.4.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-24 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 18:02 [PATCH 2/2] OMAP3 Touchbook: fix board initialization Radek (Mrkva) Pilař
2011-02-24 22:31 ` Tony Lindgren
2011-02-24 23:11   ` [PATCH] omap2+: Minimize board specific init_early calls Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox