Skip to content

Commit

Permalink
dmaengine: dw_dmac: amend description and indentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heikki Krogerus authored and Vinod Koul committed Jan 8, 2013
1 parent b73d6c0 commit b801479
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/dma/dw_dmac.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
* Driver for the Synopsys DesignWare DMA Controller (aka DMACA on
* AVR32 systems.)
* Core driver for the Synopsys DesignWare DMA Controller
*
* Copyright (C) 2007-2008 Atmel Corporation
* Copyright (C) 2010-2011 ST Microelectronics
Expand All @@ -9,6 +8,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/delay.h>
Expand Down Expand Up @@ -222,7 +222,6 @@ static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc)
channel_readl(dwc, CTL_LO));
}


static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc)
{
channel_clear_bit(dw, CH_EN, dwc->mask);
Expand Down Expand Up @@ -1813,6 +1812,7 @@ static int dw_resume_noirq(struct device *dev)

clk_prepare_enable(dw->clk);
dma_writel(dw, CFG, DW_CFG_DMA_EN);

return 0;
}

Expand Down

0 comments on commit b801479

Please sign in to comment.