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>
BUG=chrome-os-partner:35229
TEST=With the whole patch series applied, run aplay and arecord to
TEST= see if there are no "[21912.773245] sst-acpi INT3438:00:
TEST=BUG: Unexpected interrupts pending: 0x2 error messages" seen.
(Cherry-picked from https://patchwork.kernel.org/patch/5666441/)
Signed-off by: Vedang Patel <vedang.patel@intel.com>
Change-Id: Ifabcece017a8eca44ff74849b0f8e356f76d0038
Reviewed-on: https://chromium-review.googlesource.com/242964
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
Tested-by: James Ausmus <james.ausmus@intel.com>