summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wireless.c
diff options
context:
space:
mode:
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>2021-05-14 20:00:47 +0200
committerHans de Goede <hdegoede@redhat.com>2021-05-19 15:59:47 +0200
commitf048630bdd55eb5379ef35f971639fe52fabe499 (patch)
treea207c2426a7dc02e0933b748ae4f6403e9fe199a /drivers/platform/x86/hp-wireless.c
parentplatform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle (diff)
downloadlinux-f048630bdd55eb5379ef35f971639fe52fabe499.tar.xz
linux-f048630bdd55eb5379ef35f971639fe52fabe499.zip
platform/x86: hp-wireless: add AMD's hardware id to the supported list
Newer AMD based laptops uses AMDI0051 as the hardware id to support the airplane mode button. Adding this to the supported list. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20210514180047.1697543-1-Shyam-sundar.S-k@amd.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/hp-wireless.c')
-rw-r--r--drivers/platform/x86/hp-wireless.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/hp-wireless.c b/drivers/platform/x86/hp-wireless.c
index 12c31fd5d5ae..0753ef18e721 100644
--- a/drivers/platform/x86/hp-wireless.c
+++ b/drivers/platform/x86/hp-wireless.c
@@ -17,12 +17,14 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("Alex Hung");
MODULE_ALIAS("acpi*:HPQ6001:*");
MODULE_ALIAS("acpi*:WSTADEF:*");
+MODULE_ALIAS("acpi*:AMDI0051:*");
static struct input_dev *hpwl_input_dev;
static const struct acpi_device_id hpwl_ids[] = {
{"HPQ6001", 0},
{"WSTADEF", 0},
+ {"AMDI0051", 0},
{"", 0},
};