intel_mid_dma: Add runtime PM support
authorKoul, Vinod <vinod.koul@intel.com>
Mon, 4 Oct 2010 10:42:40 +0000 (10:42 +0000)
committerDan Williams <dan.j.williams@intel.com>
Thu, 7 Oct 2010 22:03:42 +0000 (15:03 -0700)
commit53a61badf47e674fb43d73cd22f0f8065098ddf6
treeabf0b87c397d9129f22bd34bbfc8d9f9cb139cab
parentcc60f8878eab892c03d06b10f389232b9b66bd83
intel_mid_dma: Add runtime PM support

This patch adds runtime PM support in this dma driver
for 4 PCI Controllers
Whenever the driver is idle (no channels grabbed), it
can go to low power state
It also adds the PCI suspend and resume support

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/intel_mid_dma.c
drivers/dma/intel_mid_dma_regs.h