]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:46 +0000 (21:16 -0600)
commitbe18e9e95cf84563a96207a25f89c283e5a6c2c1
treeed4e42e44234171e850c0dfb6d9bd9362243be82
parent075fc15045903b9a924d9af410f8b00829d93dc3
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>
(cherry picked from commit e2681a1bf5ae053426a6c5c1daaed17b2f95efe6)
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h