fbdev: newport: newport_*wait() return 0 on timeout
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 31 Mar 2009 22:25:30 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:31 +0000 (08:59 -0700)
commit91ad1203535da95bb13072bdb59e1dc3ca76ec5d
tree06d8a81796bf3a2a79d7ce0f0357ca27c215a0b4
parenteb8972b4407f81b07ea6fc71fd91f9fc7a35a81e
fbdev: newport: newport_*wait() return 0 on timeout

With a postfix decrement t reaches -1 on timeout which results in a
return of 0.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/video/newport.h