summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-07-25 01:36:46 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-07-25 01:38:21 -0700
commit3c6b50141ef9f0a8844bf1357b80c0cdf518bf05 (patch)
tree4315350dfc01165a709441339575b2d6f17ae914 /drivers/input/mouse/synaptics.h
parent5599d2e60b1191520778def7c0658fbc6de6d8c1 (diff)
downloadblackbird-op-linux-3c6b50141ef9f0a8844bf1357b80c0cdf518bf05.tar.gz
blackbird-op-linux-3c6b50141ef9f0a8844bf1357b80c0cdf518bf05.zip
Input: synaptics - fix reporting of min coordinates
We were testing wrong bit in the extended capability query. Reported-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/synaptics.h')
-rw-r--r--drivers/input/mouse/synaptics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.h b/drivers/input/mouse/synaptics.h
index a4394e1f12a2..ca040aa80fa7 100644
--- a/drivers/input/mouse/synaptics.h
+++ b/drivers/input/mouse/synaptics.h
@@ -79,7 +79,7 @@
#define SYN_CAP_CLICKPAD(ex0c) ((ex0c) & 0x100000) /* 1-button ClickPad */
#define SYN_CAP_CLICKPAD2BTN(ex0c) ((ex0c) & 0x000100) /* 2-button ClickPad */
#define SYN_CAP_MAX_DIMENSIONS(ex0c) ((ex0c) & 0x020000)
-#define SYN_CAP_MIN_DIMENSIONS(ex0c) ((ex0c) & 0x000200)
+#define SYN_CAP_MIN_DIMENSIONS(ex0c) ((ex0c) & 0x002000)
#define SYN_CAP_ADV_GESTURE(ex0c) ((ex0c) & 0x080000)
#define SYN_CAP_REDUCED_FILTERING(ex0c) ((ex0c) & 0x000400)
OpenPOWER on IntegriCloud