[Resend][PATCH] Fix for the i2c initialization error on 2430sdp
Hi all, Resending the patch after incorporating comments from Chandra , Eduardo Valentin and Felipe. >From ee2a6fd572c6d0464166fc8123982a38b36e7776 Mon Sep 17 00:00:00 2001 From: arun <[EMAIL PROTECTED]> Date: Fri, 6 Jun 2008 18:18:50 +0530 Subject: [PATCH] Fix for the i2c initialization error on 2430sdp Signed-off-by: arun <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/board-2430sdp.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index e078a2a..780913e 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -379,8 +379,12 @@ static struct omap_board_config_kernel sdp2430_config[] __initdata = { static int __init omap2430_i2c_init(void) { - omap_register_i2c_bus(1, 400, NULL, 0); + /* +* Registering bus 2 first to avoid twl4030 misbehaving as 2430SDP +* has twl4030 on bus 2 +*/ omap_register_i2c_bus(2, 2600, NULL, 0); + omap_register_i2c_bus(1, 400, NULL, 0); return 0; } -- 1.5.3.4 # Regards, Arun C -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [Resend][PATCH] Fix for the i2c initialization error on 2430sdp
On Mon, Jun 9, 2008 at 2:25 AM, arun c <[EMAIL PROTECTED]> wrote: > Hi all, > > Resending the patch after incorporating comments from > Chandra , Eduardo Valentin and Felipe. > > > > > From ee2a6fd572c6d0464166fc8123982a38b36e7776 Mon Sep 17 00:00:00 2001 > From: arun <[EMAIL PROTECTED]> > Date: Fri, 6 Jun 2008 18:18:50 +0530 > Subject: [PATCH] Fix for the i2c initialization error on 2430sdp > > > Signed-off-by: arun <[EMAIL PROTECTED]> Acked-by: Eduardo Valentin <[EMAIL PROTECTED]> > --- > arch/arm/mach-omap2/board-2430sdp.c |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/board-2430sdp.c > b/arch/arm/mach-omap2/board-2430sdp.c > index e078a2a..780913e 100644 > --- a/arch/arm/mach-omap2/board-2430sdp.c > +++ b/arch/arm/mach-omap2/board-2430sdp.c > @@ -379,8 +379,12 @@ static struct omap_board_config_kernel > sdp2430_config[] __initdata = { > > static int __init omap2430_i2c_init(void) > { > - omap_register_i2c_bus(1, 400, NULL, 0); > + /* > +* Registering bus 2 first to avoid twl4030 misbehaving as 2430SDP > +* has twl4030 on bus 2 > +*/ >omap_register_i2c_bus(2, 2600, NULL, 0); > + omap_register_i2c_bus(1, 400, NULL, 0); >return 0; > } > > -- > 1.5.3.4 > > # > Regards, > Arun C > -- Eduardo Bezerra Valentin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [Resend][PATCH] Fix for the i2c initialization error on 2430sdp
* Eduardo Valentin <[EMAIL PROTECTED]> [080609 05:55]: > On Mon, Jun 9, 2008 at 2:25 AM, arun c <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > Resending the patch after incorporating comments from > > Chandra , Eduardo Valentin and Felipe. > > > > > > > > > > From ee2a6fd572c6d0464166fc8123982a38b36e7776 Mon Sep 17 00:00:00 2001 > > From: arun <[EMAIL PROTECTED]> > > Date: Fri, 6 Jun 2008 18:18:50 +0530 > > Subject: [PATCH] Fix for the i2c initialization error on 2430sdp > > > > > > Signed-off-by: arun <[EMAIL PROTECTED]> > Acked-by: Eduardo Valentin <[EMAIL PROTECTED]> Pushing today. Tony > > --- > > arch/arm/mach-omap2/board-2430sdp.c |6 +- > > 1 files changed, 5 insertions(+), 1 deletions(-) > > > > diff --git a/arch/arm/mach-omap2/board-2430sdp.c > > b/arch/arm/mach-omap2/board-2430sdp.c > > index e078a2a..780913e 100644 > > --- a/arch/arm/mach-omap2/board-2430sdp.c > > +++ b/arch/arm/mach-omap2/board-2430sdp.c > > @@ -379,8 +379,12 @@ static struct omap_board_config_kernel > > sdp2430_config[] __initdata = { > > > > static int __init omap2430_i2c_init(void) > > { > > - omap_register_i2c_bus(1, 400, NULL, 0); > > + /* > > +* Registering bus 2 first to avoid twl4030 misbehaving as 2430SDP > > +* has twl4030 on bus 2 > > +*/ > >omap_register_i2c_bus(2, 2600, NULL, 0); > > + omap_register_i2c_bus(1, 400, NULL, 0); > >return 0; > > } > > > > -- > > 1.5.3.4 > > > > # > > Regards, > > Arun C > > > > > > -- > Eduardo Bezerra Valentin > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html