MLK-17285 dma: imx-sdma: fix sound mute in high loading
authorRobin Gong <yibin.gong@nxp.com>
Tue, 2 Jan 2018 08:32:26 +0000 (16:32 +0800)
committerJosep Orga <jorga@somdevices.com>
Tue, 27 Jun 2023 14:03:03 +0000 (16:03 +0200)
commitacbd1f3fa7de4a89cfd7844ccf201362089e962c
treea2606a6c7367ab49a7661035a5218dd66b8b44fc
parentac3adc283c29ab62f595e12f6a4e0d4885405573
MLK-17285 dma: imx-sdma: fix sound mute in high loading

SDMA channel will stop in case of cpu high loading. That caused by
sdma ISR can't be handled in time while all cyclic bds consumed by
sdma side, then sdma channel stopped. Re-enable channel in this case
to workaound the issue.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 98c43d24d19d28ae364e7fedf48d61e98a2ec9e4)
(cherry picked from commit 65f426ddd092175602993cf4494e75f84f50b58a)
drivers/dma/imx-sdma.c