features->quirks can have multiple bits set. For dual input, we only
need to check WACOM_QUIRK_MULTI_INPUT.
Reviewed-by: Jason Gerecke <redacted>
Signed-off-by: Ping Cheng <redacted>
---
drivers/input/tablet/wacom_wac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -331,7 +331,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom)/* Enter report */if((data[1]&0xfc)==0xc0){-if(features->quirks==WACOM_QUIRK_MULTI_INPUT)+if(features->quirks&WACOM_QUIRK_MULTI_INPUT)wacom->shared->stylus_in_proximity=true;/* serial number of the tool */
On Wed, Jan 15, 2014 at 02:04:17PM -0800, Ping Cheng wrote:
features->quirks can have multiple bits set. For dual input, we only
need to check WACOM_QUIRK_MULTI_INPUT.
Reviewed-by: Jason Gerecke <redacted>
Signed-off-by: Ping Cheng <redacted>
@@ -331,7 +331,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom)/* Enter report */if((data[1]&0xfc)==0xc0){-if(features->quirks==WACOM_QUIRK_MULTI_INPUT)+if(features->quirks&WACOM_QUIRK_MULTI_INPUT)wacom->shared->stylus_in_proximity=true;/* serial number of the tool */