From: Andy Shevchenko Date: Tue, 19 Aug 2014 17:29:17 +0000 (+0300) Subject: dmaengine: dw: move clock operations to platform.c X-Git-Tag: fixes-against-v3.18-rc2~40^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a15636e83eb0dedefcb1221be729023e4c281748;p=pandora-kernel.git dmaengine: dw: move clock operations to platform.c On BayTrail platform DMA is not functional in the PCI mode, whereby it always failed and exit at the point when it tries to get a clock. It causes the PCI mode probe to exit with the error message: dw_dmac_pci: probe of 0000:00:1e.0 failed with error -2 This patch moves clock operations to where it belongs to. Thus, the clock is provided only in ACPI / non-PCI cases. Reported-by: Chew, Chiau Ee Signed-off-by: Andy Shevchenko Signed-off-by: Vinod Koul --- Reading git-diff-tree failed