projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373459e
)
dma: tegra20-apb-dma: remove unnecessary assignment
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Thu, 14 Feb 2013 09:00:20 +0000
(11:00 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Thu, 14 Feb 2013 14:30:54 +0000
(20:00 +0530)
There is no need to assign 0 to residue, because dma_cookie_status() does this
for us.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/tegra20-apb-dma.c
b/drivers/dma/tegra20-apb-dma.c
index
6c14481
..
c71812f
100644
(file)
--- a/
drivers/dma/tegra20-apb-dma.c
+++ b/
drivers/dma/tegra20-apb-dma.c
@@
-767,7
+767,6
@@
static enum dma_status tegra_dma_tx_status(struct dma_chan *dc,
ret = dma_cookie_status(dc, cookie, txstate);
if (ret == DMA_SUCCESS) {
- dma_set_residue(txstate, 0);
spin_unlock_irqrestore(&tdc->lock, flags);
return ret;
}