Re: [PATCH] usb: add back otg_get_transceiver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 03, 2008 at 05:31:34PM +0300, Tony Lindgren wrote:
> * Felipe Balbi <felipe.balbi@xxxxxxxxx> [081003 17:18]:
> > make twl4030_usb transceiver reach musb.
> > 
> > Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> > ---
> >  drivers/usb/musb/omap2430.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
> > index 9d2dcb1..be4e779 100644
> > --- a/drivers/usb/musb/omap2430.c
> > +++ b/drivers/usb/musb/omap2430.c
> > @@ -215,12 +215,14 @@ void musb_platform_set_mode(struct musb *musb, u8 musb_mode)
> >  
> >  int __init musb_platform_init(struct musb *musb)
> >  {
> > +	struct otg_transceiver *x = otg_get_transceiver();
> >  	u32 l;
> >  
> >  #if defined(CONFIG_ARCH_OMAP2430)
> >  	omap_cfg_reg(AE5_2430_USB0HS_STP);
> >  #endif
> >  
> > +	musb->xceiv = *x;
> >  	musb_platform_resume(musb);
> >  
> >  	l = omap_readl(OTG_SYSCONFIG);
> 
> Pushed until you have something in mainline.

Will actually be kept... the change is that otg_get_transceiver will be
generic

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux