]> 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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:47 +0000 (21:16 -0600)
commitb326aea46e40bdefd369fd0ac06071f40fd88d91
tree639b3cafdd4e2581adc8bb7f69b3aef5834bfef5
parent7f191398306b6199cdf431272c9ddd8c7024a9bc
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>
(cherry picked from commit 8abba5d64835c636d97ac0009ab7430ed832cb93)
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h