Skip to content

Commit 8a0435d

Browse files
jwrdegoededtor
authored andcommitted
Input: synaptics - add manual min/max quirk for ThinkPad X240
This extends Benjamin Tissoires manual min/max quirk table with support for the ThinkPad X240. Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 421e08c commit 8a0435d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/input/mouse/synaptics.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
15061506
},
15071507
.driver_data = (int []){1024, 5052, 2258, 4832},
15081508
},
1509+
{
1510+
/* Lenovo ThinkPad X240 */
1511+
.matches = {
1512+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1513+
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X240"),
1514+
},
1515+
.driver_data = (int []){1232, 5710, 1156, 4696},
1516+
},
15091517
{
15101518
/* Lenovo ThinkPad T440s */
15111519
.matches = {

0 commit comments

Comments
 (0)