projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12ded4
)
Input: sa1111ps2 - extend test delay
author
Russell King
<rmk+kernel@armlinux.org.uk>
Tue, 26 Sep 2017 16:57:12 +0000
(09:57 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 26 Sep 2017 18:52:08 +0000
(11:52 -0700)
A 2us delay is too small for the bus to settle after writing to the
register. Extend to 10us which gives more reliable results.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/sa1111ps2.c
patch
|
blob
|
history
diff --git
a/drivers/input/serio/sa1111ps2.c
b/drivers/input/serio/sa1111ps2.c
index f1c036260d2537eeb5e1a52fd9c6ceb6c191adcf..f9e5c793f4f093d888ee34a1ab000830bec2538c 100644
(file)
--- a/
drivers/input/serio/sa1111ps2.c
+++ b/
drivers/input/serio/sa1111ps2.c
@@
-212,7
+212,7
@@
static unsigned int ps2_test_one(struct ps2if *ps2if,
writel_relaxed(PS2CR_ENA | mask, ps2if->base + PS2CR);
- udelay(
2
);
+ udelay(
10
);
val = readl_relaxed(ps2if->base + PS2STAT);
return val & (PS2STAT_KBC | PS2STAT_KBD);