projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd51f4
)
Input: psmouse - do not force stream mode
author
Dmitry Torokhov
<dtor@insightbb.com>
Wed, 7 Mar 2007 06:44:59 +0000
(
01:44
-0500)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Wed, 7 Mar 2007 06:44:59 +0000
(
01:44
-0500)
Forcing stream mode after reset confuses some devices (reported
by Andrea Arcangeli) so let's take it out - spec says that after
reset mouse should already be in stream mode.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/mouse/psmouse-base.c
b/drivers/input/mouse/psmouse-base.c
index eb63855f7cc197d70cc5aab93727b140220b2cce..33a3251e07668e58c60a6210ce73f7bc053dd84b 100644
(file)
--- a/
drivers/input/mouse/psmouse-base.c
+++ b/
drivers/input/mouse/psmouse-base.c
@@
-835,12
+835,6
@@
static void psmouse_set_rate(struct psmouse *psmouse, unsigned int rate)
static void psmouse_initialize(struct psmouse *psmouse)
{
-/*
- * We set the mouse into streaming mode.
- */
-
- ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSTREAM);
-
/*
* We set the mouse report rate, resolution and scaling.
*/