]> git.hungrycats.org Git - linux/commitdiff
platform/x86: lg-laptop: Change ACPI device id
authorArmin Wolf <W_Armin@gmx.de>
Thu, 6 Jun 2024 23:35:39 +0000 (01:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2024 07:53:35 +0000 (09:53 +0200)
[ Upstream commit 58a54f27a0dac81f7fd3514be01012635219a53c ]

The LGEX0815 ACPI device id is used for handling hotkey events, but
this functionality is already handled by the wireless-hotkey driver.

The LGEX0820 ACPI device id however is used to manage various
platform features using the WMAB/WMBB ACPI methods. Use this ACPI
device id to avoid blocking the wireless-hotkey driver from probing.

Tested-by: Agathe Boutmy <agathe@boutmy.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240606233540.9774-4-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/lg-laptop.c

index 5d4df782ce8e1643155c91201050254ca921db2b..c19c866361beb37fef5187a8322ec56aee0157e5 100644 (file)
@@ -768,7 +768,7 @@ static void acpi_remove(struct acpi_device *device)
 }
 
 static const struct acpi_device_id device_ids[] = {
-       {"LGEX0815", 0},
+       {"LGEX0820", 0},
        {"", 0}
 };
 MODULE_DEVICE_TABLE(acpi, device_ids);