projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabe5c9
)
HID: fixed bug in single-touch emulation on the stantum panel
author
Stephane Chatty
<chatty@enac.fr>
Wed, 10 Feb 2010 11:09:17 +0000
(12:09 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 10 Feb 2010 11:09:17 +0000
(12:09 +0100)
Fixed stupid copy-paste bug in touchscreen emulation for the Stantum multitouch
panel: a flag was reset just before being tested.
Signed-off-by: Stephane Chatty <chatty@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-stantum.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-stantum.c
b/drivers/hid/hid-stantum.c
index add965dab932db166f688075e59524f9ae872288..1b7b1659e7bba90738fbe42f192fa91068a187ff 100644
(file)
--- a/
drivers/hid/hid-stantum.c
+++ b/
drivers/hid/hid-stantum.c
@@
-147,7
+147,6
@@
static void stantum_filter_event(struct stantum_data *sd,
input_mt_sync(input);
sd->valid = false;
- sd->first = false;
/* touchscreen emulation */
if (sd->first) {
@@
-158,6
+157,7
@@
static void stantum_filter_event(struct stantum_data *sd,
input_event(input, EV_ABS, ABS_X, sd->x);
input_event(input, EV_ABS, ABS_Y, sd->y);
}
+ sd->first = false;
}