From: eric@eukrea.com (Eric Bénard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH for 2.6.36 2/2] cpuimx27: fix i2c bus selection
Date: Fri, 8 Oct 2010 10:37:41 +0200 [thread overview]
Message-ID: <1286527061-3013-2-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1286527061-3013-1-git-send-email-eric@eukrea.com>
Recent clean of i.MX devices registration changed the i2C bus number
selected for our platform (Freescale start peripheral ID at 1, kernel
now start it at 0 so i.MX27's i2c 1 is kernel's i2c 0).
Without this fix, i2c is unusable on this platform.
Signed-off-by: Eric B?nard <eric@eukrea.com>
Acked-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
arch/arm/mach-imx/mach-cpuimx27.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c
index 339150a..6830afd 100644
--- a/arch/arm/mach-imx/mach-cpuimx27.c
+++ b/arch/arm/mach-imx/mach-cpuimx27.c
@@ -259,7 +259,7 @@ static void __init eukrea_cpuimx27_init(void)
i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices,
ARRAY_SIZE(eukrea_cpuimx27_i2c_devices));
- imx27_add_i2c_imx1(&cpuimx27_i2c1_data);
+ imx27_add_i2c_imx0(&cpuimx27_i2c1_data);
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
--
1.7.0.4
next prev parent reply other threads:[~2010-10-08 8:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 8:37 [PATCH v2 for 2.6.36 1/2] cpuimx27: fix compile when ULPI is selected Eric Bénard
2010-10-08 8:37 ` Eric Bénard [this message]
2010-10-08 8:51 ` [PATCH for 2.6.36 2/2] cpuimx27: fix i2c bus selection Uwe Kleine-König
2010-10-08 9:25 ` [PATCH v2 for 2.6.36 1/2] cpuimx27: fix compile when ULPI is selected Uwe Kleine-König
-- strict thread matches above, loose matches on Subject: below --
2010-10-06 8:53 [PATCH " Eric Bénard
2010-10-06 8:53 ` [PATCH for 2.6.36 2/2] cpuimx27: fix i2c bus selection Eric Bénard
2010-10-06 13:07 ` Uwe Kleine-König
2010-10-06 13:22 ` Eric Bénard
2010-10-06 13:27 ` Uwe Kleine-König
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=1286527061-3013-2-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).