From: Feng Tang Date: Fri, 24 Dec 2010 05:59:09 +0000 (+0800) Subject: spi/dw_spi: Fix too short timeout in spi polling loop X-Git-Tag: v2.6.38-rc1~454^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf45b7d029eb065819bfede8b30455630d76c68;p=pandora-kernel.git spi/dw_spi: Fix too short timeout in spi polling loop The SPI polling loop timeout only works with HZ=100 as the loop was actually too short. Also add appropriate cpu_relax() in the busy wait loops... Signed-off-by: Arjan van de Ven Signed-off-by: Alan Cox Signed-off-by: Feng Tang Signed-off-by: Grant Likely --- Reading git-diff-tree failed