[PATCH 6/9] New set of input patches - 11-synaptics-reconnect.patch

From: Dmitry Torokhov
Date: Tue May 11 2004 - 01:56:21 EST



===================================================================


ChangeSet@xxxxxxxxxxxx, 2004-05-10 01:37:47-05:00, dtor_core@xxxxxxxxxxxxx
Input: do not call synaptics_init unless we are ready to do full
mouse setup


psmouse-base.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


===================================================================



diff -Nru a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
--- a/drivers/input/mouse/psmouse-base.c Tue May 11 00:57:50 2004
+++ b/drivers/input/mouse/psmouse-base.c Tue May 11 00:57:50 2004
@@ -427,7 +427,7 @@
}

if (max_proto > PSMOUSE_IMEX) {
- if (synaptics_init(psmouse) == 0)
+ if (!set_properties || synaptics_init(psmouse) == 0)
return PSMOUSE_SYNAPTICS;
/*
* Some Synaptics touchpads can emulate extended protocols (like IMPS/2).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/