Roel Kluin c8fc657e6a 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 <roel.kluin@gmail.com>
Cc: Mariusz Ceier <mceier@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-07 08:31:07 -07:00
..
2009-04-07 08:31:03 -07:00
2009-04-05 02:14:15 -04:00
2009-04-06 16:06:27 +01:00
2009-04-06 14:40:07 -07:00
2009-04-05 00:32:25 +02:00
2009-04-07 08:05:38 -07:00
2009-04-05 02:14:15 -04:00
2009-04-05 02:14:15 -04:00
2009-04-07 08:31:07 -07:00
2009-04-05 00:32:22 +02:00