[PATCH v1] ACPI: bus: Fix MFD child automatic modprobe issue

From: Pratap Nirujogi

Date: Tue Mar 17 2026 - 23:50:52 EST


MFD child devices sharing parent's ACPI Companion fails to probe as
acpi_companion_match() returns incompatible ACPI Companion handle for
binding with the check for pnp.type.backlight added recently. Remove this
pnp.type.backlight check in acpi_companion_match() to fix the automatic
modprobe issue.

Fixes: 7a7a7ed5f8bdb ("ACPI: scan: Register platform devices for backlight device objects")
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@xxxxxxx>
---
drivers/acpi/bus.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index f6707325f5821..2ec095e2009e4 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -818,9 +818,6 @@ const struct acpi_device *acpi_companion_match(const struct device *dev)
if (list_empty(&adev->pnp.ids))
return NULL;

- if (adev->pnp.type.backlight)
- return adev;
-
return acpi_primary_dev_companion(adev, dev);
}

--
2.43.0