From: Nicolin Chen Date: Wed, 23 Jul 2014 11:23:38 +0000 (+0800) Subject: ASoC: fsl_sai: Reduce race condition during TE/RE enabling X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4075a8f452aff5465c6522c92da9db71ed11b7f;p=pandora-kernel.git ASoC: fsl_sai: Reduce race condition during TE/RE enabling For trigger start, we don't need to check if it's the first time to enable TE/RE or second time. It doesn't hurt to enable them any way, which in the meantime can reduce race condition for TE/RE enabling. For trigger stop, we will definitely clear FRDE of current direction. Thus the driver only needs to read the opposite one's. Signed-off-by: Nicolin Chen Signed-off-by: Mark Brown --- Reading git-diff-tree failed