diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2012-10-18 10:34:08 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-08 01:04:48 -0500 |
commit | b801479bb6f5b66f5a35feaa72451ac5ac152ef5 (patch) | |
tree | 549fd20076e4bce5af4615db3386392e524e17dc /drivers/dma | |
parent | b73d6c0ae4d74588a2653835a2452944722cc64b (diff) |
dmaengine: dw_dmac: amend description and indentation
The driver will be used as a core part for various implementations of the
DesignWare DMA device. The patch adjusts description on the top and corrects
paragraph indentation in few places across the code.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/dw_dmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 27b8e1d1845e..62bd85c8a517 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c | |||
@@ -1,6 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the Synopsys DesignWare DMA Controller (aka DMACA on | 2 | * Core driver for the Synopsys DesignWare DMA Controller |
3 | * AVR32 systems.) | ||
4 | * | 3 | * |
5 | * Copyright (C) 2007-2008 Atmel Corporation | 4 | * Copyright (C) 2007-2008 Atmel Corporation |
6 | * Copyright (C) 2010-2011 ST Microelectronics | 5 | * Copyright (C) 2010-2011 ST Microelectronics |
@@ -9,6 +8,7 @@ | |||
9 | * it under the terms of the GNU General Public License version 2 as | 8 | * it under the terms of the GNU General Public License version 2 as |
10 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
11 | */ | 10 | */ |
11 | |||
12 | #include <linux/bitops.h> | 12 | #include <linux/bitops.h> |
13 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
@@ -222,7 +222,6 @@ static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) | |||
222 | channel_readl(dwc, CTL_LO)); | 222 | channel_readl(dwc, CTL_LO)); |
223 | } | 223 | } |
224 | 224 | ||
225 | |||
226 | static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) | 225 | static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) |
227 | { | 226 | { |
228 | channel_clear_bit(dw, CH_EN, dwc->mask); | 227 | channel_clear_bit(dw, CH_EN, dwc->mask); |
@@ -1813,6 +1812,7 @@ static int dw_resume_noirq(struct device *dev) | |||
1813 | 1812 | ||
1814 | clk_prepare_enable(dw->clk); | 1813 | clk_prepare_enable(dw->clk); |
1815 | dma_writel(dw, CFG, DW_CFG_DMA_EN); | 1814 | dma_writel(dw, CFG, DW_CFG_DMA_EN); |
1815 | |||
1816 | return 0; | 1816 | return 0; |
1817 | } | 1817 | } |
1818 | 1818 | ||