diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-05-07 15:03:39 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-07 15:03:42 +0200 |
commit | 436281c9a110ff16c1fb396add5dd944ee92cf36 (patch) | |
tree | afda86db9e89d41ca49a8311673b994a82d16d42 /drivers/input/mouse/synaptics.c | |
parent | Merge branch 'tip/sched/core' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
parent | IA32 emulation: Fix build problem for modular ia32 a.out support (diff) | |
download | linux-436281c9a110ff16c1fb396add5dd944ee92cf36.tar.xz linux-436281c9a110ff16c1fb396add5dd944ee92cf36.zip |
Merge branch 'linus' into sched/core
Merge reason: We were on a pretty old base, refresh before moving on.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/input/mouse/synaptics.c')
-rw-r--r-- | drivers/input/mouse/synaptics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 8081a0a5d602..a4b14a41cbf4 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -274,7 +274,8 @@ static int synaptics_set_advanced_gesture_mode(struct psmouse *psmouse) static unsigned char param = 0xc8; struct synaptics_data *priv = psmouse->private; - if (!SYN_CAP_ADV_GESTURE(priv->ext_cap_0c)) + if (!(SYN_CAP_ADV_GESTURE(priv->ext_cap_0c) || + SYN_CAP_IMAGE_SENSOR(priv->ext_cap_0c))) return 0; if (psmouse_sliced_command(psmouse, SYN_QUE_MODEL)) |