]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: Reset DRAIN bit when resume the channel
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Jan 2019 11:07:39 +0000 (13:07 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 12:27:13 +0000 (17:57 +0530)
commitdd871a859d4a79b936483f9ff8bd9067898411ba
tree69eb9940144d3d6fd2e6066e81c636237e3171f1
parentb30133f2cbcdfc38ea113a38056c1031c575b2c0
dmaengine: dw: Reset DRAIN bit when resume the channel

For Intel iDMA 32-bit the channel can be drained on a suspend.
We need to reset the bit on the resume to return a status quo.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/core.c
drivers/dma/dw/dw.c
drivers/dma/dw/idma32.c
drivers/dma/dw/regs.h