diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-08-19 19:29:17 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-09-11 08:18:13 +0200 |
commit | a15636e83eb0dedefcb1221be729023e4c281748 (patch) | |
tree | 71bbc5c36dbd708399de26de51338e4769a0dbc2 /drivers/dma/dw/regs.h | |
parent | dmaengine: dw: introduce generic filter function (diff) | |
download | linux-a15636e83eb0dedefcb1221be729023e4c281748.tar.xz linux-a15636e83eb0dedefcb1221be729023e4c281748.zip |
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 <chiau.ee.chew@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw/regs.h')
-rw-r--r-- | drivers/dma/dw/regs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/dw/regs.h b/drivers/dma/dw/regs.h index 0e82d9972c17..00d27a9d9c27 100644 --- a/drivers/dma/dw/regs.h +++ b/drivers/dma/dw/regs.h @@ -251,7 +251,6 @@ struct dw_dma { void __iomem *regs; struct dma_pool *desc_pool; struct tasklet_struct tasklet; - struct clk *clk; /* channels */ struct dw_dma_chan *chan; |