Re: [PATCH v7 RESEND] ARM: omap: edma: add suspend suspend/resume hooks

2014-08-26 Thread Sekhar Nori
On Tuesday 26 August 2014 02:16 PM, Daniel Mack wrote: > Hi, > > On 08/26/2014 08:36 AM, Sekhar Nori wrote: >> On Friday 22 August 2014 01:16 PM, Dave Gerlach wrote: > > Thanks for pushing that forward! > >>> +static int edma_pm_suspend(struct device *dev) >>> +{ >>> + int j, r; >>> + >>> +

Re: [PATCH v7 RESEND] ARM: omap: edma: add suspend suspend/resume hooks

2014-08-26 Thread Daniel Mack
Hi, On 08/26/2014 08:36 AM, Sekhar Nori wrote: > On Friday 22 August 2014 01:16 PM, Dave Gerlach wrote: Thanks for pushing that forward! >> +static int edma_pm_suspend(struct device *dev) >> +{ >> +int j, r; >> + >> +r = pm_runtime_get_sync(dev); >> +if (r < 0) { >> +dev_

Re: [PATCH v7 RESEND] ARM: omap: edma: add suspend suspend/resume hooks

2014-08-25 Thread Sekhar Nori
On Friday 22 August 2014 01:16 PM, Dave Gerlach wrote: > From: Daniel Mack > > This patch makes the edma driver resume correctly after suspend. Tested > on an AM33xx platform with cyclic audio streams and omap_hsmmc. > > All information can be reconstructed by already known runtime > information

[PATCH v7 RESEND] ARM: omap: edma: add suspend suspend/resume hooks

2014-08-22 Thread Dave Gerlach
From: Daniel Mack This patch makes the edma driver resume correctly after suspend. Tested on an AM33xx platform with cyclic audio streams and omap_hsmmc. All information can be reconstructed by already known runtime information. As we now use some functions that were previously only used from _