Browse Source

Input: synaptics - add min/max quirk for Lenovo S540

https://bugzilla.redhat.com/show_bug.cgi?id=1223051#c2

Cc: stable@vger.kernel.org
Tested-by: tommy.gagnes@gmail.com
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Peter Hutterer 10 years ago
parent
commit
7f2ca8b55a
1 changed files with 6 additions and 1 deletions
  1. 6 1
      drivers/input/mouse/synaptics.c

+ 6 - 1
drivers/input/mouse/synaptics.c

@@ -150,6 +150,11 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
 		{ANY_BOARD_ID, 2961},
 		{ANY_BOARD_ID, 2961},
 		1024, 5112, 2024, 4832
 		1024, 5112, 2024, 4832
 	},
 	},
+	{
+		(const char * const []){"LEN2000", NULL},
+		{ANY_BOARD_ID, ANY_BOARD_ID},
+		1024, 5113, 2021, 4832
+	},
 	{
 	{
 		(const char * const []){"LEN2001", NULL},
 		(const char * const []){"LEN2001", NULL},
 		{ANY_BOARD_ID, ANY_BOARD_ID},
 		{ANY_BOARD_ID, ANY_BOARD_ID},
@@ -191,7 +196,7 @@ static const char * const topbuttonpad_pnp_ids[] = {
 	"LEN0045",
 	"LEN0045",
 	"LEN0047",
 	"LEN0047",
 	"LEN0049",
 	"LEN0049",
-	"LEN2000",
+	"LEN2000", /* S540 */
 	"LEN2001", /* Edge E431 */
 	"LEN2001", /* Edge E431 */
 	"LEN2002", /* Edge E531 */
 	"LEN2002", /* Edge E531 */
 	"LEN2003",
 	"LEN2003",