mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] i2c: fix adapter_list manipulation
@ 2010-06-08 18:36 Baruch Siach
  2010-06-15  5:12 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2010-06-08 18:36 UTC (permalink / raw)
  To: barebox; +Cc: Baruch Siach

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 drivers/i2c/i2c.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
index 1fa114a..87360f3 100644
--- a/drivers/i2c/i2c.c
+++ b/drivers/i2c/i2c.c
@@ -365,7 +365,7 @@ int i2c_add_numbered_adapter(struct i2c_adapter *adapter)
 	if (i2c_get_adapter(adapter->nr))
 		return -EBUSY;
 
-	list_add_tail(&adapter_list, &adapter->list);
+	list_add_tail(&adapter->list, &adapter_list);
 
 	/* populate children from any i2c device tables */
 	scan_boardinfo(adapter);
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: fix adapter_list manipulation
  2010-06-08 18:36 [PATCH] i2c: fix adapter_list manipulation Baruch Siach
@ 2010-06-15  5:12 ` Baruch Siach
  2010-06-17 12:00   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2010-06-15  5:12 UTC (permalink / raw)
  To: barebox

Hi barebox list,

Ping?
This seems to fix an obvious bug.

baruch

On Tue, Jun 08, 2010 at 09:36:04PM +0300, Baruch Siach wrote:
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  drivers/i2c/i2c.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
> index 1fa114a..87360f3 100644
> --- a/drivers/i2c/i2c.c
> +++ b/drivers/i2c/i2c.c
> @@ -365,7 +365,7 @@ int i2c_add_numbered_adapter(struct i2c_adapter *adapter)
>  	if (i2c_get_adapter(adapter->nr))
>  		return -EBUSY;
>  
> -	list_add_tail(&adapter_list, &adapter->list);
> +	list_add_tail(&adapter->list, &adapter_list);
>  
>  	/* populate children from any i2c device tables */
>  	scan_boardinfo(adapter);
> -- 
> 1.7.1
> 

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: fix adapter_list manipulation
  2010-06-15  5:12 ` Baruch Siach
@ 2010-06-17 12:00   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2010-06-17 12:00 UTC (permalink / raw)
  To: Baruch Siach; +Cc: barebox

On Tue, Jun 15, 2010 at 08:12:35AM +0300, Baruch Siach wrote:
> Hi barebox list,
> 
> Ping?

Sorry, missed this one. Applied.

Sascha

> This seems to fix an obvious bug.
> 
> baruch
> 
> On Tue, Jun 08, 2010 at 09:36:04PM +0300, Baruch Siach wrote:
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > ---
> >  drivers/i2c/i2c.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
> > index 1fa114a..87360f3 100644
> > --- a/drivers/i2c/i2c.c
> > +++ b/drivers/i2c/i2c.c
> > @@ -365,7 +365,7 @@ int i2c_add_numbered_adapter(struct i2c_adapter *adapter)
> >  	if (i2c_get_adapter(adapter->nr))
> >  		return -EBUSY;
> >  
> > -	list_add_tail(&adapter_list, &adapter->list);
> > +	list_add_tail(&adapter->list, &adapter_list);
> >  
> >  	/* populate children from any i2c device tables */
> >  	scan_boardinfo(adapter);
> > -- 
> > 1.7.1
> > 
> 
> -- 
>                                                      ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-17 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-08 18:36 [PATCH] i2c: fix adapter_list manipulation Baruch Siach
2010-06-15  5:12 ` Baruch Siach
2010-06-17 12:00   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox