diff options
author | Laxman Dewangan <[email protected]> | 2012-07-02 13:52:07 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2012-07-13 08:49:54 +0530 |
commit | 4a46ba36e25dcff1d30eb1681135c3c10af71c16 (patch) | |
tree | 8003546e61cd4337b5f27001bab7854cefcfe8bc /net/unix/sysctl_net_unix.c | |
parent | 46fb3f8ef5bde1325b1e58867a3a98dd746511d7 (diff) |
dma: tegra: fix residual calculation for cyclic case
In cyclic mode of DMA, the byte transferred can be more
than the requested size and in this case, calculating
residuals based on the current position of DMA transfer to
bytes requested i.e. bytes required to transfer to reach
bytes requested from current DMA position.
Signed-off-by: Laxman Dewangan <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions