diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2016-06-29 18:08:38 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-30 05:23:15 +0200 |
commit | 004f614eded1b5746ef610bbe17eba11e4fb5733 (patch) | |
tree | d7e9ed63b4ceebc66b5b10e5a70d8f60d5325111 /COPYING | |
parent | dmaengine: tegra-apb: Correct grammar in TX status debug message (diff) | |
download | linux-004f614eded1b5746ef610bbe17eba11e4fb5733.tar.xz linux-004f614eded1b5746ef610bbe17eba11e4fb5733.zip |
dmaengine: tegra-apb: Remove duplicated residue calculation
The calculation of the DMA residue for the Tegra APB DMA is duplicated
in two places in the tegra_dma_tx_status() function. Remove this
duplicated code by moving calculation to the end of the function and
only calculating if we found a valid descriptor.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions