]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine/ste_dma40: support pm in dma40
authorNarayanan G <narayanan.gopalakrishnan@stericsson.com>
Thu, 17 Nov 2011 11:56:41 +0000 (17:26 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 22 Nov 2011 04:16:06 +0000 (09:46 +0530)
commit7fb3e75e1833743d5faf3adbae46b63f503c6fdf
tree32ae4d6b39e5a552e9727ff15a891e4ba2b980fb
parentca21a146a45a179a2a7bc86d938a2fbf571a7510
dmaengine/ste_dma40: support pm in dma40

This patch adds power management support to the dma40
driver. The DMA registers are backed up and restored,
during suspend/resume. Also flags to track the dma usage
have been introduced to facilitate this. Patch also includes
few other minor changes, related to formatting, comments.

Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/ste_dma40.c
drivers/dma/ste_dma40_ll.h