OSDN Git Service

ASoC: fsl_sai: Remove expensive print in irq handler
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 18 Jan 2019 14:26:46 +0000 (14:26 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 18 Jan 2019 18:09:15 +0000 (18:09 +0000)
commite412fcb0db5c44a3450ca678b281ea9332e6bf82
treea38879255b15631a8731b3207e8d66a679f3131f
parent7c7e2d6a9ca3c74ba7ed4da2a75916b2f9ae38f0
ASoC: fsl_sai: Remove expensive print in irq handler

When stopping audio, ASoC will first stop DMA then CPU DAI.
Sometimes there is a delay between DMA stop and CPU DAI stop, which
triggers an underrun error. Now, because of the delay introduced
by dev_err another underrun error will occur causing a vicious circle
making impossible to stop CPU DAI.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c