]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: at_hdmac: improve power management routines
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 27 Jul 2011 12:21:29 +0000 (12:21 +0000)
committerVinod Koul <vinod.koul@intel.com>
Fri, 19 Aug 2011 13:09:54 +0000 (18:39 +0530)
commitad9ae84bc0e41cd6c349919479263665f7cf8a97
treef3c32b76f48fc7f78ebd32a6d33f5e6b99e1328a
parente9b664044b5f0bd9d4b827f38e971b5f7250ead8
dmaengine: at_hdmac: improve power management routines

Save/restore dma controller state across a suspend-resume sequence.
The prepare() function will wait for the non-cyclic channels to become idle.
It also deals with cyclic operations with the start at next period while
resuming.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h