ACPI: PM: Introduce acpi_dev_power_up_children_with_adr()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Apr 2022 15:23:13 +0000 (17:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Apr 2022 15:26:22 +0000 (17:26 +0200)
commitb7dd6298db81ea6dd902f1787eaf9a43228e2707
tree7e7441978de497412d45c815b344957e17445f59
parentcf6ba0750a22a54f5101986401271429995cc4a0
ACPI: PM: Introduce acpi_dev_power_up_children_with_adr()

Introduce a function powering up all of the children of a given ACPI
device object that are power-manageable and hold valid _ADR ACPI
objects so as to make it possible to prepare the corresponding
"physical" devices for enumeration carried out by a bus type driver,
like PCI.

This function will be used in a subsequent change set.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/device_pm.c
include/acpi/acpi_bus.h