From mboxrd@z Thu Jan 1 00:00:00 1970 From: u.kleine-koenig@pengutronix.de (Uwe =?iso-8859-1?Q?Kleine-K=F6nig?=) Date: Wed, 6 Oct 2010 15:27:35 +0200 Subject: [PATCH for 2.6.36 2/2] cpuimx27: fix i2c bus selection In-Reply-To: <20101006130704.GJ29673@pengutronix.de> References: <1286355230-15530-1-git-send-email-eric@eukrea.com> <1286355230-15530-2-git-send-email-eric@eukrea.com> <20101006130704.GJ29673@pengutronix.de> Message-ID: <20101006132735.GA12415@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Oct 06, 2010 at 03:07:04PM +0200, Uwe Kleine-K?nig wrote: > On Wed, Oct 06, 2010 at 10:53:50AM +0200, Eric B?nard wrote: > > 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 > > --- > > 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); > This doesn't fit on Sascha's current tree. Can you please rebase it? I need to be more precise here: It doesn't fit Sascha's for-2.6.37 branch. If you want it to go in before .36, then it's obviously OK. Maybe you want to add the offending commit to the log (it's c69871597dd173af2d7615429c0ee6aa10fae42b). And you can add my Acked-and-blame-taken-by: Uwe Kleine-K?nig Best regards and sorry for that, Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |