>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
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()
>
>
> > > */
> > > + 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
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
> --- 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
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