]> 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)
commita407fd4a834d2877c475ff4278c323192f56c617
tree69eb9940144d3d6fd2e6066e81c636237e3171f1
parentd476497c00ed8fd78a8795c7d923ca3f5084aee7
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