projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[cascardo/linux.git]
/
drivers
/
input
/
mouse
/
pxa930_trkball.c
diff --git
a/drivers/input/mouse/pxa930_trkball.c
b/drivers/input/mouse/pxa930_trkball.c
index
d297acc
..
1e827ad
100644
(file)
--- a/
drivers/input/mouse/pxa930_trkball.c
+++ b/
drivers/input/mouse/pxa930_trkball.c
@@
-83,7
+83,7
@@
static int write_tbcr(struct pxa930_trkball *trkball, int v)
__raw_writel(v, trkball->mmio_base + TBCR);
- while (
i--
) {
+ while (
--i
) {
if (__raw_readl(trkball->mmio_base + TBCR) == v)
break;
msleep(1);