From: Dmitry Torokhov Date: Mon, 25 Jul 2011 08:36:46 +0000 (-0700) Subject: Input: synaptics - fix reporting of min coordinates X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3c6b50141ef9f0a8844bf1357b80c0cdf518bf05;p=openwrt%2Fstaging%2Fblogic.git Input: synaptics - fix reporting of min coordinates We were testing wrong bit in the extended capability query. Reported-by: Daniel Kurtz Signed-off-by: Dmitry Torokhov --- 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)