diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/mouse/synaptics.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 47c5dca20a60..87c37f745b92 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c | |||
@@ -368,8 +368,14 @@ static int synaptics_resolution(struct psmouse *psmouse) | |||
368 | } | 368 | } |
369 | } | 369 | } |
370 | 370 | ||
371 | if (SYN_EXT_CAP_REQUESTS(priv->capabilities) >= 7 && | 371 | if (SYN_CAP_MIN_DIMENSIONS(priv->ext_cap_0c) && |
372 | SYN_CAP_MIN_DIMENSIONS(priv->ext_cap_0c)) { | 372 | (SYN_EXT_CAP_REQUESTS(priv->capabilities) >= 7 || |
373 | /* | ||
374 | * Firmware v8.1 does not report proper number of extended | ||
375 | * capabilities, but has been proven to report correct min | ||
376 | * coordinates. | ||
377 | */ | ||
378 | SYN_ID_FULL(priv->identity) == 0x801)) { | ||
373 | if (synaptics_send_cmd(psmouse, SYN_QUE_EXT_MIN_COORDS, resp)) { | 379 | if (synaptics_send_cmd(psmouse, SYN_QUE_EXT_MIN_COORDS, resp)) { |
374 | psmouse_warn(psmouse, | 380 | psmouse_warn(psmouse, |
375 | "device claims to have min coordinates query, but I'm not able to read it.\n"); | 381 | "device claims to have min coordinates query, but I'm not able to read it.\n"); |