]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: pxa930_trkball - fix write timeout handling
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 2 Feb 2009 00:54:19 +0000 (16:54 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Feb 2009 00:58:07 +0000 (16:58 -0800)
commitbc34496d63ec0a669d6825ea42275fd6fcbe9969
treef2035768ce6f8e307add8da626a5f629f2034545
parent4e8718a1f960db0c48427f4583f89f4cb62f2480
Input: pxa930_trkball - fix write timeout handling

With a postfix decrement i reaches -1 rather than 0,
but after the loop it is tested whether it has become 0.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/pxa930_trkball.c