]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa291ca42babe41781a44dc0855b10ae139907c3
treec7ee66d046376f7f5804e8b0a58c6473d9bdae39
parent6b09660c490b77d34d901175007a779ce7bea55a
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