]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: don't handle interrupt when dmaengine is not used
authorJie Yang <yang.jie@intel.com>
Thu, 5 Mar 2015 06:08:08 +0000 (14:08 +0800)
committerVinod Koul <vinod.koul@intel.com>
Thu, 5 Mar 2015 08:37:48 +0000 (14:07 +0530)
commit4b837e7fa9d7e168fb237640c47ee68ab0ea3371
tree9235d958ed3e4d0cf5198b2fa0a406c29db27ce0
parent7f96f2c9bfba034b100f52ba9810d78d8ccdbba5
dmaengine: dw: don't handle interrupt when dmaengine is not used

When dma controller is not used by any user and set off,
we should disble interrupt handler, at least the interrupt
reset part, for some subsystem, e.g. ADSP, may use the
dma in its own logic, here reset the interrupt may make
this subsystem work abnormally.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c