HID: wacom: bitwise vs logical ORs
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Dec 2015 10:22:05 +0000 (13:22 +0300)
committerJiri Kosina <jkosina@suse.cz>
Thu, 17 Dec 2015 23:01:35 +0000 (00:01 +0100)
commit8f9cfdd359478ea70da0144b0cb407a4734f14cd
tree898fbdf0bb48d18e56bb91ba3675a407c0a1446e
parentbe853fd1c6a5fe127af3392157dfe95e9712a575
HID: wacom: bitwise vs logical ORs

Smatch complains that these should probably be bitwise ORs instead of
logical.  It doesn't matter for "prox" but it makes a difference for
"strip1" and "strip2".

Fixes: c7f0522a1ad1 ('HID: wacom: Slim down wacom_intuos_pad processing')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c