OSDN Git Service

ACPI: scan: Add Intel Baytrail Mailbox Device to acpi_ignore_dep_ids
authorHans de Goede <hdegoede@redhat.com>
Tue, 15 Dec 2020 11:26:02 +0000 (12:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Dec 2020 16:52:02 +0000 (17:52 +0100)
commit9272e97ae9e9b95e0805c690404a0df9fb03055f
tree39d1964f0c3312c292d1de6615f30f429370f19c
parent0de7fb7c8687048299305529d17f6a1e98ae658c
ACPI: scan: Add Intel Baytrail Mailbox Device to acpi_ignore_dep_ids

Linux does not have a driver for / does not use the "Intel Baytrail
Mailbox Device" (ACIP HID INT33BD). Add it to the acpi_ignore_dep_ids
list, so that we do not defer probing ACPI devices which depend on
another ACPI device with this HID.

Specifically this makes us not defer the probing of the GPO1 ACPI
device / GPIO controller on the Acer Switch 10E SW3-016. On this
tablet model the  _HID method of the ACPI node for the UART attached
Bluetooth, reads GPIOs to detect the installed wifi chip and updates
the reported _HID for the Bluetooth's ACPI node accordingly.

For the Bluetooth's ACPI node to report the correct _HID the GPO1 device
must be probed and attached during the first scan pass. Adding the
"INT33BD" HID to the acpi_ignore_dep_ids list makes this all work.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c