ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]
authorHans de Goede <hdegoede@redhat.com>
Tue, 25 Oct 2022 12:12:23 +0000 (14:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Oct 2022 11:44:13 +0000 (13:44 +0200)
commitfa153b7cddce795662d38f78a87612c166c0f692
treec7ee66d046376f7f5804e8b0a58c6473d9bdae39
parent247f34f7b80357943234f93f247a1ae6b6c3a740
ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]

Some x86/ACPI laptops with MIPI cameras have a LATT2021 ACPI device
in the _DEP dependency list of the ACPI devices for the camera-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 updates 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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c