From: Roel Kluin Date: Tue, 7 Apr 2009 02:00:54 +0000 (-0700) Subject: spi: limit reaches -1, tested 0 X-Git-Tag: v2.6.30-rc1~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8fc657e6a114fadf78fdf8103e289a169c91c5d;p=pandora-kernel.git spi: limit reaches -1, tested 0 With a postfix decrement limit will reach -1 rather than 0, so the warning will not be issued. Also, add a cpu_relax() into the busy-wait loop. Signed-off-by: Roel Kluin Cc: Mariusz Ceier Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed