commit | c0ba5947370a0900b1823922fc4faf41515bc901 | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@atmel.com> | Wed Jul 27 12:21:29 2011 +0000 |
committer | Vinod Koul <vinod.koul@intel.com> | Fri Aug 19 18:39:54 2011 +0530 |
tree | f3c32b76f48fc7f78ebd32a6d33f5e6b99e1328a | |
parent | d8cb04b070c2a55f7201714d231cff4f8f9fbd16 [diff] |
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>