ASoC: fsl_sai: Reset FIFOs after disabling TE/RE
authorNicolin Chen <nicoleotsuka@gmail.com>
Thu, 17 Jul 2014 13:21:37 +0000 (21:21 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 17 Jul 2014 17:10:41 +0000 (18:10 +0100)
commiteff952b733d4c1ff3a6b35accce940b223372978
tree0ca507468b33225ab4b6acbe58c9585b02d70d8b
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: fsl_sai: Reset FIFOs after disabling TE/RE

SAI will not clear their FIFOs after disabling TE/RE. Therfore, the driver
should take care the task so as not to let useless data remain in the FIFO.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_sai.c