diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-11-05 14:26:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-11-05 14:26:11 -0400 |
commit | f29b909db9df7e7e0bdd0b2c41e3c9d6c7db41a3 (patch) | |
tree | 7c89754b3e58b246dd357f2b3a6add6f352511ed | |
parent | 03daa36f089f31002a2d0fb22088d3ebe3e28d98 (diff) | |
parent | 324ae0958cab5ccdf2851ef0348ba1cb8ad4e34a (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input subsystem updates from Dmitry Torokhov.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: psmouse - cleanup Focaltech code
Input: i8042 - add XMG C504 to keyboard reset table
-rw-r--r-- | drivers/input/mouse/focaltech.c | 6 | ||||
-rw-r--r-- | drivers/input/serio/i8042-x86ia64io.h | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/drivers/input/mouse/focaltech.c b/drivers/input/mouse/focaltech.c index 54eceb30ede5..a7d39689bbfb 100644 --- a/drivers/input/mouse/focaltech.c +++ b/drivers/input/mouse/focaltech.c | |||
@@ -43,7 +43,7 @@ int focaltech_detect(struct psmouse *psmouse, bool set_properties) | |||
43 | 43 | ||
44 | if (set_properties) { | 44 | if (set_properties) { |
45 | psmouse->vendor = "FocalTech"; | 45 | psmouse->vendor = "FocalTech"; |
46 | psmouse->name = "FocalTech Touchpad"; | 46 | psmouse->name = "Touchpad"; |
47 | } | 47 | } |
48 | 48 | ||
49 | return 0; | 49 | return 0; |
@@ -146,8 +146,8 @@ static void focaltech_report_state(struct psmouse *psmouse) | |||
146 | } | 146 | } |
147 | input_mt_report_pointer_emulation(dev, true); | 147 | input_mt_report_pointer_emulation(dev, true); |
148 | 148 | ||
149 | input_report_key(psmouse->dev, BTN_LEFT, state->pressed); | 149 | input_report_key(dev, BTN_LEFT, state->pressed); |
150 | input_sync(psmouse->dev); | 150 | input_sync(dev); |
151 | } | 151 | } |
152 | 152 | ||
153 | static void focaltech_process_touch_packet(struct psmouse *psmouse, | 153 | static void focaltech_process_touch_packet(struct psmouse *psmouse, |
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index f4bfb4b2d50a..073246c7d163 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h | |||
@@ -877,6 +877,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = { | |||
877 | DMI_MATCH(DMI_PRODUCT_NAME, "P34"), | 877 | DMI_MATCH(DMI_PRODUCT_NAME, "P34"), |
878 | }, | 878 | }, |
879 | }, | 879 | }, |
880 | { | ||
881 | /* Schenker XMG C504 - Elantech touchpad */ | ||
882 | .matches = { | ||
883 | DMI_MATCH(DMI_SYS_VENDOR, "XMG"), | ||
884 | DMI_MATCH(DMI_PRODUCT_NAME, "C504"), | ||
885 | }, | ||
886 | }, | ||
880 | { } | 887 | { } |
881 | }; | 888 | }; |
882 | 889 | ||