commit | b68fd0976286e0cc4e163a83b8b68d6efca814dd | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Mar 18 16:24:53 2016 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Wed Apr 13 21:36:16 2016 +0530 |
tree | 10737c6c433fe56d420952f63183657c002a01b9 | |
parent | 423f9cbf2da8110e01eee56b8f755332432e82c7 [diff] |
dmaengine: dw: move residue to a descriptor Residue is a property of any active descriptor. So, any descriptor may be in different state but residue is a feature of active descriptor. Check if the asked descriptor is active and return proper residue value for it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>