[PATCH] OMAP2: N800: don't try to initialize OneNAND twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



board-n800.c calls board_onenand_init() twice.  The second time fails 
during boot with:

   kobject (c031e048): tried to init an initialized object,
   something is seriously wrong.

with backtrace, etc.  board_onenand_init() should not be called twice.

Patch tested on N800.

Problem originally found by Kalle Valo <kalle.valo@xxxxxx>

Signed-off-by: Paul Walmsley <paul@xxxxxxxxx>
Cc: Kalle Valo <kalle.valo@xxxxxx>
---
 arch/arm/mach-omap2/board-n800.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c
index fee6c62..bea182d 100644
--- a/arch/arm/mach-omap2/board-n800.c
+++ b/arch/arm/mach-omap2/board-n800.c
@@ -566,7 +566,6 @@ static void __init nokia_n800_init(void)
 
 	n800_ts_set_config();
 	tea5761_dev_init();
-	board_onenand_init();
 }
 
 void __init nokia_n800_map_io(void)
-- 
1.6.3.3.334.g916e1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux