RE: [PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-26 Thread Gupta, Ajay Kumar
Hi, > On Thu, Jul 26, 2012 at 08:29:06AM +, Gupta, Ajay Kumar wrote: > > Hi, > > > On Thu, Jul 26, 2012 at 08:22:35AM +, Gupta, Ajay Kumar wrote: > > > > > > @@ -408,7 +408,7 @@ static int am35x_musb_exit(struct musb *musb) > > > > > > data->set_phy_power(0); > > > > > > > > > >

Re: [PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-26 Thread Felipe Balbi
On Thu, Jul 26, 2012 at 08:29:06AM +, Gupta, Ajay Kumar wrote: > Hi, > > On Thu, Jul 26, 2012 at 08:22:35AM +, Gupta, Ajay Kumar wrote: > > > > > @@ -408,7 +408,7 @@ static int am35x_musb_exit(struct musb *musb) > > > > > data->set_phy_power(0); > > > > > > > > > > usb_p

RE: [PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-26 Thread Gupta, Ajay Kumar
Hi, > On Thu, Jul 26, 2012 at 08:22:35AM +, Gupta, Ajay Kumar wrote: > > > > @@ -408,7 +408,7 @@ static int am35x_musb_exit(struct musb *musb) > > > > data->set_phy_power(0); > > > > > > > > usb_put_phy(musb->xceiv); > > > > - usb_nop_xceiv_unregister(); > > > > +

Re: [PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-26 Thread Felipe Balbi
Hi, On Thu, Jul 26, 2012 at 08:22:35AM +, Gupta, Ajay Kumar wrote: > > > @@ -408,7 +408,7 @@ static int am35x_musb_exit(struct musb *musb) > > > data->set_phy_power(0); > > > > > > usb_put_phy(musb->xceiv); > > > - usb_nop_xceiv_unregister(); > > > + usb_nop_xceiv_unregister(musb->

RE: [PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-26 Thread Gupta, Ajay Kumar
Hi > On Wed, Jul 25, 2012 at 05:37:22PM +0530, Ajay Kumar Gupta wrote: > > diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c > > index 01203eb..eb6220f 100644 > > --- a/drivers/usb/musb/am35x.c > > +++ b/drivers/usb/musb/am35x.c > > @@ -364,7 +364,7 @@ static int am35x_musb_init(stru

Re: [PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-26 Thread Felipe Balbi
Hi, On Wed, Jul 25, 2012 at 05:37:22PM +0530, Ajay Kumar Gupta wrote: > diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c > index 01203eb..eb6220f 100644 > --- a/drivers/usb/musb/am35x.c > +++ b/drivers/usb/musb/am35x.c > @@ -364,7 +364,7 @@ static int am35x_musb_init(struct musb *m

[PATCH v5 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-25 Thread Ajay Kumar Gupta
Currently we have one single nop transceiver support as same is defined as a global variable in drivers/usb/otg/nop-usb-xceiv.c. This need to be changed to support multiple otg controller each using nop transceiver on a platform such as am335x. Signed-off-by: Ajay Kumar Gupta --- arch/arm/mach-o