commit | 390c49f7174a85d88ec080058d8b5c2e301d3f6b | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Nov 17 13:37:10 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Sat Dec 05 13:54:28 2015 +0530 |
tree | a44a74f1ed1659a72ce04a3ed3ffcaf547af1faf | |
parent | ac02979413e0310f85bbcc2945d65da7071c08fe [diff] |
dmaengine: idma64: use local variable to index descriptor Since a local variable contains the number of hardware desriptors at the beginning of idma64_desc_fill() we may use it to index the last descriptor as well. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>