From: Andy Shevchenko Date: Tue, 13 Jan 2015 16:57:15 +0000 (+0200) Subject: dmaengine: dw: balance PM runtime calls X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~263^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6acf3998d2c7420b2deb2b475fa78ba7573c6162;p=pandora-kernel.git dmaengine: dw: balance PM runtime calls In case of PCI driver we will get a warning: dw_dmac_pci 0000:00:18.0: Unbalanced pm_runtime_enable! dw_dmac_pci 0000:00:18.0: DesignWare DMA Controller, 8 channels This happens due to pm_runtime_enable() call from the driver when PM runtime is enabled by core. This patch moves that call to the platform driver where it might make sense. Fixes: bb32baf76e56 (dmaengine: dw: enable runtime PM) Signed-off-by: Andy Shevchenko Signed-off-by: Vinod Koul --- Reading git-diff-tree failed