ASoC: davinci-mcasp: When stopping TX/RX stop the AFIFO as the last step
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 29 Oct 2014 11:55:46 +0000 (13:55 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Oct 2014 12:31:38 +0000 (12:31 +0000)
commit0380866a9131646787dc60d19a6d5d2c22dffdd1
tree92637f774878d04e88b08ff08ae83ffa6ff32125
parent4498273551d4e27c93d3585bc7e4676623c46da8
ASoC: davinci-mcasp: When stopping TX/RX stop the AFIFO as the last step

The AFIFO should not be stopped (or started for that matter) when McASP is
running since it can cause unpredictable issues because we are switching off
AFIFO for the direction which was handling the requests from McASP and was
generating DMA request toward the system DMA.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c