Re: [PATCH v3 5/5] dma: cppi41: add support for suspend and resume

2013-09-23 Thread Vinod Koul
On Sun, Sep 22, 2013 at 04:50:04PM +0200, Daniel Mack wrote: > This patch adds support for suspend/resume functionality to the cppi41 > DMA driver. The steps necessary to make the system resume properly were > figured out by trial-and-error. The code as it stands now is the > minimum that has to be

Re: [PATCH v3 5/5] dma: cppi41: add support for suspend and resume

2013-09-23 Thread Vinod Koul
On Mon, Sep 23, 2013 at 07:53:11AM +0200, Daniel Mack wrote: > On 23.09.2013 06:09, Vinod Koul wrote: > > On Sun, Sep 22, 2013 at 04:50:04PM +0200, Daniel Mack wrote: > > >> +#ifdef CONFIG_PM_SLEEP > > a > > > >> +static int cppi41_suspend(struct device *dev) > >> +{ > >> + struct cppi41_dd

Re: [PATCH v3 5/5] dma: cppi41: add support for suspend and resume

2013-09-22 Thread Daniel Mack
On 23.09.2013 06:09, Vinod Koul wrote: > On Sun, Sep 22, 2013 at 04:50:04PM +0200, Daniel Mack wrote: >> +#ifdef CONFIG_PM_SLEEP > a > >> +static int cppi41_suspend(struct device *dev) >> +{ >> +struct cppi41_dd *cdd = dev_get_drvdata(dev); >> + >> +cppi_writel(0, cdd->usbss_mem + USB

Re: [PATCH v3 5/5] dma: cppi41: add support for suspend and resume

2013-09-22 Thread Vinod Koul
On Sun, Sep 22, 2013 at 04:50:04PM +0200, Daniel Mack wrote: > This patch adds support for suspend/resume functionality to the cppi41 > DMA driver. The steps necessary to make the system resume properly were > figured out by trial-and-error. The code as it stands now is the > minimum that has to be

[PATCH v3 5/5] dma: cppi41: add support for suspend and resume

2013-09-22 Thread Daniel Mack
This patch adds support for suspend/resume functionality to the cppi41 DMA driver. The steps necessary to make the system resume properly were figured out by trial-and-error. The code as it stands now is the minimum that has to be done to put the musb host system on an AM33xx system into an operabl