intel_mid_dma: fix runtime pm issues
authorKristen Carlson Accardi <kristen@linux.intel.com>
Thu, 31 Mar 2011 18:02:43 +0000 (11:02 -0700)
committerVinod Koul <vinod.koul@intel.com>
Fri, 1 Apr 2011 11:19:05 +0000 (16:49 +0530)
commite2142df7ec7184ed4a77ada686bc1eb41075490f
treed6f2f0cb5a3c68bc82a10716c968307a9315b9d4
parent427cdf19b97e509e21e5d347e18d8b0b34723dfc
intel_mid_dma: fix runtime pm issues

Use the correct api in probe to enable runtime pm for this driver.
Additionally, do not just call legacy suspend for runtime_suspend,
as this duplicates some work the pci core does for you.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/intel_mid_dma.c