linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input: atkbd - add forced release kays quirk for Samsung N130
@ 2009-11-16 17:18 Johannes Stezenbach
  2009-11-16 19:54 ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Stezenbach @ 2009-11-16 17:18 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Andrew Morton, Jiri Kosina, Linus Torvalds, linux-input,
	linux-kernel

Samsung N130 has the same function key quirks as the NC10.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
---
It would be nice if this could go into 2.6.32.  It might also be
suitable for stable.


diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 4452eab..ad2dc7d 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1646,6 +1646,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
 		.driver_data = atkbd_samsung_forced_release_keys,
 	},
 	{
+		.ident = "Samsung N130",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "N130"),
+		},
+		.callback = atkbd_setup_forced_release,
+		.driver_data = atkbd_samsung_forced_release_keys,
+	},
+	{
 		.ident = "Samsung SQ45S70S",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-18  5:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-16 17:18 [PATCH] input: atkbd - add forced release kays quirk for Samsung N130 Johannes Stezenbach
2009-11-16 19:54 ` Dmitry Torokhov
2009-11-16 21:34   ` Johannes Stezenbach
2009-11-18  5:16     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).