]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl_sai: Fix incorrect condition check in trigger()
authorNicolin Chen <Guangyu.Chen@freescale.com>
Fri, 11 Apr 2014 14:10:00 +0000 (22:10 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:48 +0000 (21:16 -0600)
commit382710c1d2654c554a747c7e0e795978712db8dc
tree6192541d41d1f79112f5fe76f04c8373403cb4d4
parent27666a0491ab8bd7c10eb00f690eecffe088e640
ASoC: fsl_sai: Fix incorrect condition check in trigger()

Patch ASoC: fsl_sai: Fix buggy configurations in trigger() doesn't entirely
fix the condition: FRDE of the current substream direction is being cleared
while the code is still using the non-updated one.

Thus this patch fixes this issue by checking the opposite one's FRDE alone
since the current one's is absolutely disabled.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit f84526cfae46672308a361333c76b724384b61ee)
sound/soc/fsl/fsl_sai.c