]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: enable and disable controller when needed
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Sep 2014 14:18:14 +0000 (17:18 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 15:01:05 +0000 (20:31 +0530)
commit543b4b69b87ac20161463657130ec8c1cb86c0d7
treef0fc2e9d1053d98b265f38453e01cba00d1b7bd2
parentaea5f1763ec2d4d88922eb31bd26e7586fd7189c
dmaengine: dw: enable and disable controller when needed

Enable controller automatically whenever first user requires for a channel and
disable it when the last user gone.

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