Skip to content

Commit f29b909

Browse files
committed
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
2 parents 03daa36 + 324ae09 commit f29b909

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

drivers/input/mouse/focaltech.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int focaltech_detect(struct psmouse *psmouse, bool set_properties)
4343

4444
if (set_properties) {
4545
psmouse->vendor = "FocalTech";
46-
psmouse->name = "FocalTech Touchpad";
46+
psmouse->name = "Touchpad";
4747
}
4848

4949
return 0;
@@ -146,8 +146,8 @@ static void focaltech_report_state(struct psmouse *psmouse)
146146
}
147147
input_mt_report_pointer_emulation(dev, true);
148148

149-
input_report_key(psmouse->dev, BTN_LEFT, state->pressed);
150-
input_sync(psmouse->dev);
149+
input_report_key(dev, BTN_LEFT, state->pressed);
150+
input_sync(dev);
151151
}
152152

153153
static void focaltech_process_touch_packet(struct psmouse *psmouse,

drivers/input/serio/i8042-x86ia64io.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
877877
DMI_MATCH(DMI_PRODUCT_NAME, "P34"),
878878
},
879879
},
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+
},
880887
{ }
881888
};
882889

0 commit comments

Comments
 (0)