diff mbox series

ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]

Message ID 20221022150722.31787-1-hdegoede@redhat.com
State Superseded
Headers show
Series ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[] | expand

Commit Message

Hans de Goede Oct. 22, 2022, 3:07 p.m. UTC
Some x86/ACPI laptops with MIPI cameras have a LATT2021 ACPI device
on which the ACPI devices for the sensors (which have flags.honor_deps set)

The _DDN for the LATT2021 device is "Lattice FW Update Client Driver",
suggesting that this is used for firmware updates of something. There
is no Linux driver for this and if Linux gets support for it it will
likely be in userspace through fwupd.

For now add the LATT2021 HID to acpi_ignore_dep_ids[] so that
acpi_dev_ready_for_enumeration() will return true once the other _DEP
dependencies are met.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/acpi/scan.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 558664d169fc..eb57b014d1a3 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -789,6 +789,7 @@  static bool acpi_info_matches_ids(struct acpi_device_info *info,
 static const char * const acpi_ignore_dep_ids[] = {
 	"PNP0D80", /* Windows-compatible System Power Management Controller */
 	"INT33BD", /* Intel Baytrail Mailbox Device */
+	"LATT2021", /* Lattice FW Update Client Driver */
 	NULL
 };