dmaengine: idma64: clear LLP_[SD]_EN bits in last descriptor
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Jan 2016 11:43:13 +0000 (13:43 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Feb 2016 16:36:45 +0000 (22:06 +0530)
commita2826e662eb13a041078260692b4e023ed5cbf62
tree796ddeaa581305e4fe769a7d7a3e59525dd28981
parent92e963f50fc74041b5e9e744c330dca48e04f08d
dmaengine: idma64: clear LLP_[SD]_EN bits in last descriptor

The datasheet requires that the user must clear LLP_[SD]_EN bits whenever
LLP.LOC is zero, i.e. in the last descriptor of a multi-block chain.

Make the driver do this.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/idma64.c