Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e04126c7 authored by Barry Carroll's avatar Barry Carroll Committed by Dmitry Torokhov
Browse files

Input: atkbd - add forced release keys quirk for Samsung NC20



Signed-off-by: default avatarBarry Carroll <baz8080@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 157f3a3e
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -880,7 +880,7 @@ static unsigned int atkbd_hp_zv6100_forced_release_keys[] = {
};

/*
 * Samsung NC10 with Fn+F? key release not working
 * Samsung NC10,NC20 with Fn+F? key release not working
 */
static unsigned int atkbd_samsung_forced_release_keys[] = {
	0x82, 0x83, 0x84, 0x86, 0x88, 0x89, 0xb3, 0xf7, 0xf9, -1U
@@ -1533,6 +1533,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
		.callback = atkbd_setup_forced_release,
		.driver_data = atkbd_samsung_forced_release_keys,
	},
	{
		.ident = "Samsung NC20",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
			DMI_MATCH(DMI_PRODUCT_NAME, "NC20"),
		},
		.callback = atkbd_setup_forced_release,
		.driver_data = atkbd_samsung_forced_release_keys,
	},
	{
		.ident = "Samsung SQ45S70S",
		.matches = {