[PATCH 7/7] ACPI: scan: Add some HIDs which are never bound on Cherry Trail devices to acpi_ignore_dep_hids

Hans de Goede
2020-11-21T20:31:09Z

Add some HIDs which are found on Cherry Trail devices and which
Linux never bounds to acpi_ignore_dep_hids. This allows all root
level ACPI devices to be instantiated during step one of scanning
the ACPI root.

Note this is not strictly necessary, at least not on the one
Cherry Trail device this has been tested on so far.

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

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 44001610f6a4..218a6e9e560e 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -759,6 +759,8 @@ static bool acpi_info_matches_hids(struct acpi_device_info *info,
/* List of HIDs for which we ignore matching ACPI devices, when checking _DEP lists. */
static const char * const acpi_ignore_dep_hids[] = {
"INT3396", /* Windows System Power Management Controller */
+ "INT33A4", /* Windows System Power Management Controller */
+ "INT33BD", /* Intel Baytrail Mailbox Device */
NULL
};

--
2.28.0