Skip to content
Commit 91ad1203 authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent eb8972b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment