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>
Wed, 16 Apr 2014 13:58:20 +0000 (08:58 -0500)
commited72dbf3f697afebb8dcacde353af3ee2b60746a
treed8e721e0483e5d922be04f265855c6b9850299cf
parent9ad243853cfe238558fae6614e2a84d5b861a301
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