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)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 20:29:55 +0000 (21:29 +0100)
commitf84526cfae46672308a361333c76b724384b61ee
treec74f7322128fef12d06b9f428bde76592874fc47
parentca3e35c7a37cb59b12a1839d03c621cf8fa9a3d9
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>
sound/soc/fsl/fsl_sai.c