[PATCH 1/1] ACPI: scan: Ignore Dell XPS 9320 camera graph port nodes

From: Sakari Ailus
Date: Tue May 28 2024 - 04:44:43 EST


Ignore camera related graph port nodes on Dell XPS 9320. They data in BIOS
is buggy, just like it is for Dell XPS 9315. The corresponding software
nodes are created by the ipu-bridge.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
---
Hi,

Could you test this and see whether it fixes the warning?

The camera might work with this change, too.

- Sakari

drivers/acpi/mipi-disco-img.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/acpi/mipi-disco-img.c b/drivers/acpi/mipi-disco-img.c
index d05413a0672a..bf9a5cee32ac 100644
--- a/drivers/acpi/mipi-disco-img.c
+++ b/drivers/acpi/mipi-disco-img.c
@@ -732,6 +732,12 @@ static const struct dmi_system_id dmi_ignore_port_nodes[] = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 9315"),
},
},
+ {
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 9320"),
+ },
+ },
{ }
};

--
2.39.2