diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-01 19:55:45 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-02-01 19:58:18 -0500 |
commit | 4ab73761faef832f6d378328f79d21e77c62af3b (patch) | |
tree | 109246d1a0453c950d2c02f3a062cae9c8b47304 /lib/bitrev.c | |
parent | bc34496d63ec0a669d6825ea42275fd6fcbe9969 (diff) |
Input: ambakmi - fix timeout handling in amba_kmi_write()
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>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions