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)
commit94b3eed7b8a4311f56a86b36430e9068b596ada4
tree9235d958ed3e4d0cf5198b2fa0a406c29db27ce0
parent1eed601a5b02a1f0bbabd155aeea7879fc3708eb
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