]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams
authorNicolin Chen <Guangyu.Chen@freescale.com>
Tue, 1 Apr 2014 03:17:07 +0000 (11:17 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:26:05 +0000 (17:26 +0100)
commit8abba5d64835c636d97ac0009ab7430ed832cb93
tree76c002e8c80b6ed8a4859c2dbf9b1ea5edc2ab8e
parente6b398465821fb8e08d208bd4ef2b5b73ce87b58
ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

We only enable one side interrupt for each stream since over/underrun
on the opposite stream would be resulted from what we previously did,
enabling TERE but remaining FRDE disabled, even though the xrun on the
opposite direction will not break the current stream.

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