From: Wan ZongShun Date: Wed, 2 Jun 2010 06:02:33 +0000 (+0800) Subject: ASoC: nuc900: fix a wait loop bug X-Git-Tag: v2.6.36-rc1~493^2~1^2~84^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dfb0c78157e14387f49fa7ab425e65a93b2fee2;p=pandora-kernel.git ASoC: nuc900: fix a wait loop bug The current implement meant ACTL_ACCON was only accessed once when read or write proceeding, which is not right, if so,we have to wait the 'timeout=0x10000' to end every times. We need to polling the bit AC_R_FINISH and AC_W_FINISH of ACTL_ACCON register to identify whether read or write is finished or not,so I make the patch to fix the issue. Signed-off-by: Wan ZongShun Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed