viafb: returns 0 two too early
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 31 Mar 2009 22:25:36 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:32 +0000 (08:59 -0700)
commit2bd8c47597b2522795f5eb2e61c22dcfec5dfa6a
tree37d6d0617059f42680ec2dc458da2841856064dc
parentb83734ec0975e1f53420b7a2d454612fc905a9d0
viafb: returns 0 two too early

Otherwise this will already return 0 if iteration MAXLOOP-2 occurs in the
first loop.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Joseph Chan <josephchan@via.com.tw>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/accel.c