ASoC: fsl_sai: Add isr to deal with error flag
authorNicolin Chen <Guangyu.Chen@freescale.com>
Thu, 27 Mar 2014 11:06:59 +0000 (19:06 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 27 Mar 2014 13:21:07 +0000 (13:21 +0000)
commite2681a1bf5ae053426a6c5c1daaed17b2f95efe6
tree96bef034175448df0c3ea21042b5767cca941035
parenta3f7dcc9cc0392528bff75b17adfcd74fb8a0ecd
ASoC: fsl_sai: Add isr to deal with error flag

It's quite cricial to clear error flags because SAI might hang if getting
FIFO underrun during playback (I haven't confirmed the same issue on Rx
overflow though).

So this patch enables those irq and adds isr() to clear the flags so as to
keep playback entirely safe.

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