Input: ambakmi - fix timeout handling in amba_kmi_write()
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 2 Feb 2009 00:55:45 +0000 (16:55 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Feb 2009 00:58:18 +0000 (16:58 -0800)
With a postfix decrement timeleft reaches -1 rather than 0,
but after the loop it is tested to have become 0.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found