[PATCH v2] dmaengine: sirf: add PM entries for sleep and runtime

Vinod Koul vinod.koul at intel.com
Tue Aug 13 07:32:00 EDT 2013


On Tue, Jul 30, 2013 at 05:44:34PM +0800, Barry Song wrote:
> this patch adds PM ops entries in sirf-dma drivers, so that this
> driver can support suspend/resume, hibernation and runtime PM.
> 
> while suspending, sirf-dma will lose all registers, so we save
> them at suspend and restore in resume for active channels.
> 
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> Signed-off-by: Rongjun Ying <Rongjun.Ying at csr.com>
Applied, thanks

Although putting runtime_get/put in submit and callback would be much more
better than alloc/free implementation

~Vinod



More information about the linux-arm-kernel mailing list