diff options
author | Ping Cheng <pinglinux@gmail.com> | 2015-03-20 22:58:01 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-04-02 14:15:05 +0200 |
commit | 0149931e6d2fa995fbcee590bb6cf9007a8839fc (patch) | |
tree | 60c0d5783f3ff85958edf3f3394209d55a8ed61f /drivers/misc/genwqe/card_base.h | |
parent | HID: wacom: use wacom_wac_finger_count_touches to set touch_down (diff) | |
download | linux-0149931e6d2fa995fbcee590bb6cf9007a8839fc.tar.xz linux-0149931e6d2fa995fbcee590bb6cf9007a8839fc.zip |
HID: wacom: set stylus_in_proximity before checking touch_down
In wacom_bpt_pen, we checked touch_down before assigning new
stylus_in_proximity value. This would cause stylus_in_proximity not updated
properly if touch is down before pen is in proximity.
[jkosina@suse.cz: fix if-else style]
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/misc/genwqe/card_base.h')
0 files changed, 0 insertions, 0 deletions