diff options
Diffstat (limited to 'drivers/dma/tegra20-apb-dma.c')
-rw-r--r-- | drivers/dma/tegra20-apb-dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index 6c144814a896..c71812f8d9c1 100644 --- 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, | |||
767 | 767 | ||
768 | ret = dma_cookie_status(dc, cookie, txstate); | 768 | ret = dma_cookie_status(dc, cookie, txstate); |
769 | if (ret == DMA_SUCCESS) { | 769 | if (ret == DMA_SUCCESS) { |
770 | dma_set_residue(txstate, 0); | ||
771 | spin_unlock_irqrestore(&tdc->lock, flags); | 770 | spin_unlock_irqrestore(&tdc->lock, flags); |
772 | return ret; | 771 | return ret; |
773 | } | 772 | } |