Commit b801479b authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Vinod Koul

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: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
parent b73d6c0a
/* /*
* Driver for the Synopsys DesignWare DMA Controller (aka DMACA on * Core driver for the Synopsys DesignWare DMA Controller
* AVR32 systems.)
* *
* Copyright (C) 2007-2008 Atmel Corporation * Copyright (C) 2007-2008 Atmel Corporation
* Copyright (C) 2010-2011 ST Microelectronics * Copyright (C) 2010-2011 ST Microelectronics
...@@ -9,6 +8,7 @@ ...@@ -9,6 +8,7 @@
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/delay.h> #include <linux/delay.h>
...@@ -222,7 +222,6 @@ static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) ...@@ -222,7 +222,6 @@ static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc)
channel_readl(dwc, CTL_LO)); channel_readl(dwc, CTL_LO));
} }
static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc)
{ {
channel_clear_bit(dw, CH_EN, dwc->mask); channel_clear_bit(dw, CH_EN, dwc->mask);
...@@ -1813,6 +1812,7 @@ static int dw_resume_noirq(struct device *dev) ...@@ -1813,6 +1812,7 @@ static int dw_resume_noirq(struct device *dev)
clk_prepare_enable(dw->clk); clk_prepare_enable(dw->clk);
dma_writel(dw, CFG, DW_CFG_DMA_EN); dma_writel(dw, CFG, DW_CFG_DMA_EN);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment