Skip to content

Commit e7648ff

Browse files
Pratap Nirujogirafaeljw
authored andcommitted
ACPI: bus: Fix MFD child automatic modprobe issue
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent f338e77 commit e7648ff

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/acpi/bus.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,9 +818,6 @@ const struct acpi_device *acpi_companion_match(const struct device *dev)
818818
if (list_empty(&adev->pnp.ids))
819819
return NULL;
820820

821-
if (adev->pnp.type.backlight)
822-
return adev;
823-
824821
return acpi_primary_dev_companion(adev, dev);
825822
}
826823

0 commit comments

Comments
 (0)