[PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-16 Thread Bin Liu
From: Tony Lindgren We can't use static variable first for checking when musb is initialized when we have multiple musb instances like on am335x. Tested-by: Ladislav Michl Reviewed-by: Johan Hovold Tested-by: Laurent Pinchart

[PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-15 Thread Tony Lindgren
We can't use static variable first for checking when musb is initialized when we have multiple musb instances like on am335x. Tested-by: Ladislav Michl Reviewed-by: Johan Hovold Tested-by: Laurent Pinchart

Re: [PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-12 Thread Bin Liu
Hi, On Fri, Nov 11, 2016 at 10:42:57AM -0800, Tony Lindgren wrote: > We can't use static variable first for checking when musb is > initialized when we have multiple musb instances like on am335x. > > Tested-by: Ladislav Michl > Reviewed-by: Johan Hovold

Re: [PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-11 Thread Bin Liu
On Fri, Nov 11, 2016 at 12:05:19PM -0800, Tony Lindgren wrote: > * Bin Liu [16 11:15]: > > On Fri, Nov 11, 2016 at 10:42:57AM -0800, Tony Lindgren wrote: > > > --- a/drivers/usb/musb/musb_core.h > > > +++ b/drivers/usb/musb/musb_core.h > > > @@ -385,6 +385,8 @@ struct musb { > >

Re: [PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-11 Thread Tony Lindgren
* Bin Liu [16 11:15]: > On Fri, Nov 11, 2016 at 10:42:57AM -0800, Tony Lindgren wrote: > > --- a/drivers/usb/musb/musb_core.h > > +++ b/drivers/usb/musb/musb_core.h > > @@ -385,6 +385,8 @@ struct musb { > > int a_wait_bcon;/* VBUS timeout in msecs */

[PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-11 Thread Tony Lindgren
We can't use static variable first for checking when musb is initialized when we have multiple musb instances like on am335x. Tested-by: Ladislav Michl Reviewed-by: Johan Hovold Tested-by: Laurent Pinchart