]> 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)
commitc0a67cc34ba0bdb171ddef000260da890a970309
tree9235d958ed3e4d0cf5198b2fa0a406c29db27ce0
parenteaa54dc4c192e539d332ef9c0192914bd3f05691
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