]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: clear LLP_[SD]_EN bits in last descriptor of a chain
authorMans Rullgard <mans@mansr.com>
Fri, 18 Mar 2016 14:24:45 +0000 (16:24 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Apr 2016 16:06:10 +0000 (21:36 +0530)
commitc8a23995fab3ec0ea0f38a063bb3728005d42e37
tree59704e5a77a784f3b8f6e61c9d376d78f649d32a
parentc85d31408c0f4dcc12076777d1dc1b5e450c4054
dmaengine: dw: clear LLP_[SD]_EN bits in last descriptor of a chain

The datasheet requires that the LLP_[SD]_EN bits be cleared whenever
LLP.LOC is zero, i.e. in the last descriptor of a multi-block chain.
Make the driver do this.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c