aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/psmouse-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse/psmouse-base.c')
-rw-r--r--drivers/input/mouse/psmouse-base.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index 4be21847c67d..0ecf1297b6a8 100644
--- a/drivers/input/mouse/psmouse-base.c
+++ b/drivers/input/mouse/psmouse-base.c
@@ -424,8 +424,18 @@ static int psmouse_extensions(struct psmouse *psmouse,
424{ 424{
425 int synaptics_hardware = 0; 425 int synaptics_hardware = 0;
426 426
427 if (lifebook_detect(psmouse, max_proto, set_properties) == 0) 427/*
428 return PSMOUSE_LIFEBOOK; 428 * We always check for lifebook because it does not disturb mouse
429 * (it only checks DMI information).
430 */
431 if (lifebook_detect(psmouse, set_properties) == 0 ||
432 max_proto == PSMOUSE_LIFEBOOK) {
433
434 if (max_proto > PSMOUSE_IMEX) {
435 if (!set_properties || lifebook_init(psmouse) == 0)
436 return PSMOUSE_LIFEBOOK;
437 }
438 }
429 439
430/* 440/*
431 * Try Kensington ThinkingMouse (we try first, because synaptics probe 441 * Try Kensington ThinkingMouse (we try first, because synaptics probe