Skip to content

Commit 5cbcd6c

Browse files
committed
Merge branches 'acpica' and 'acpi-bus'
Merge an ACPICA fix and a core ACPI support code fix for 7.0-rc5: - Update the format of the last argument of _DSM to avoid printing confusing error messages in some cases (Saket Dumbre) - Fix MFD child automatic modprobe issue by removing a stale check from acpi_companion_match() (Pratap Nirujogi) * acpica: ACPICA: Update the format of Arg3 of _DSM * acpi-bus: ACPI: bus: Fix MFD child automatic modprobe issue
3 parents bf504b2 + ab93d7e + e7648ff commit 5cbcd6c

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

drivers/acpi/acpica/acpredef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
451451

452452
{{"_DSM",
453453
METHOD_4ARGS(ACPI_TYPE_BUFFER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER,
454-
ACPI_TYPE_ANY | ACPI_TYPE_PACKAGE) |
454+
ACPI_TYPE_PACKAGE | ACPI_TYPE_ANY) |
455455
ARG_COUNT_IS_MINIMUM,
456456
METHOD_RETURNS(ACPI_RTYPE_ALL)}}, /* Must return a value, but it can be of any type */
457457

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)