commit | f0579c8ceaf18adf1eca8b4404f9caac37208655 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Nov 17 18:00:30 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Sat Dec 05 14:00:34 2015 +0530 |
tree | 9b8908cb2e7a97fa7409cc7dbf32a93ecc094a52 | |
parent | f94cf9f4c54a72ccbd2078bb0cedd3691a71c431 [diff] |
dmaengine: hsu: speed up residue calculation There is no need to calculate an overall length of the descriptor each time we call for DMA transfer status. Instead we do this at descriptor allocation stage and keep the stored length for further usage. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>