From: Nicolin Chen Date: Wed, 23 Jul 2014 11:23:39 +0000 (+0800) Subject: ASoC: fsl_sai: Don't reset FIFO until TE/RE bit is unset X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c44b56af9ca3a6f135d8f22b9a240f53909b371e;p=pandora-kernel.git ASoC: fsl_sai: Don't reset FIFO until TE/RE bit is unset TE/RE bit of T/RCSR will remain set untill the current frame is physically finished. The FIFO reset operation should wait this bit's totally cleared rather than ignoring its status which might cause TE/RE disabling failed. This patch adds delay and timeout to wait for its completion before FIFO reset. Signed-off-by: Nicolin Chen Signed-off-by: Mark Brown --- Reading git-diff-tree failed