From: "Radek (Mrkva) Pilař" <mrkva@mrkva.eu>
To: linux-omap@vger.kernel.org
Subject: [PATCH 2/2] OMAP3 Touchbook: fix board initialization
Date: Thu, 24 Feb 2011 19:02:49 +0100 [thread overview]
Message-ID: <6dac4c4aac867da9cf2971ce555f54ac@localhost> (raw)
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
next reply other threads:[~2011-02-24 18:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 18:02 Radek (Mrkva) Pilař [this message]
2011-02-24 22:31 ` [PATCH 2/2] OMAP3 Touchbook: fix board initialization Tony Lindgren
2011-02-24 23:11 ` [PATCH] omap2+: Minimize board specific init_early calls Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6dac4c4aac867da9cf2971ce555f54ac@localhost \
--to=mrkva@mrkva.eu \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox