Re: [PATCH 1/2 v2] musb: Add context save and restore support

2009-12-13 Thread Gupta, Ajay Kumar
>Adding support for MUSB register save and restore during system >suspend and resume. > >Changes: >    - Added musb_save/restore_context() functions >    - Added platform specific musb_platform_save/restore_context() >  to handle platform specific jobs. >    - Maintaining Black

Re: [PATCH 1/2 v2] musb: Add context save and restore support

2009-12-03 Thread Felipe Balbi
Hi, On Thu, Nov 26, 2009 at 07:39:59AM +0100, ext Ajay Kumar Gupta wrote: Adding support for MUSB register save and restore during system suspend and resume. Changes: - Added musb_save/restore_context() functions - Added platform specific musb_platform_save/restore_context()

RE: [PATCH 1/2 v2] musb: Add context save and restore support

2009-11-26 Thread Gadiyar, Anand
> > > > > */ > > > + reg = musb_readb(musb->mregs, MUSB_POWER); > > > + reg &= ~MUSB_POWER_SOFTCONN; > > > + musb_writeb(musb->mregs, MUSB_POWER, reg); > > After this softdisconnect when we subsequently get reconnected followed by > > a r

RE: [PATCH 1/2 v2] musb: Add context save and restore support

2009-11-26 Thread Gupta, Ajay Kumar
Hi, > -Original Message- > From: Dasgupta, Romit > Sent: Thursday, November 26, 2009 2:33 PM > To: Gupta, Ajay Kumar > Cc: linux-...@vger.kernel.org; linux-omap@vger.kernel.org; > felipe.ba...@nokia.com; Gadiyar, Anand > Subject: Re: [PATCH 1/2 v2] musb: Add con

Re: [PATCH 1/2 v2] musb: Add context save and restore support

2009-11-26 Thread Romit Dasgupta
> --- a/drivers/usb/musb/musb_core.c > +++ b/drivers/usb/musb/musb_core.c > @@ -2167,21 +2167,163 @@ static int __devexit musb_remove(struct > platform_device *pdev) > > #ifdef CONFIG_PM > > +static struct musb_context_registers musb_context; > + > +void musb_save_context(void __iomem *musb_bas

[PATCH 1/2 v2] musb: Add context save and restore support

2009-11-25 Thread Ajay Kumar Gupta
Adding support for MUSB register save and restore during system suspend and resume. Changes: - Added musb_save/restore_context() functions - Added platform specific musb_platform_save/restore_context() to handle platform specific jobs. - Maintaining BlackFin compa