diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-04 17:23:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-13 17:26:22 +0200 |
commit | b7dd6298db81ea6dd902f1787eaf9a43228e2707 (patch) | |
tree | 7e7441978de497412d45c815b344957e17445f59 /include/acpi | |
parent | cf6ba0750a22a54f5101986401271429995cc4a0 (diff) | |
download | linux-rpi-b7dd6298db81ea6dd902f1787eaf9a43228e2707.tar.gz linux-rpi-b7dd6298db81ea6dd902f1787eaf9a43228e2707.tar.bz2 linux-rpi-b7dd6298db81ea6dd902f1787eaf9a43228e2707.zip |
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>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index c616f3d8506b..b44aaffedb91 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -524,6 +524,7 @@ int acpi_device_fix_up_power(struct acpi_device *device); int acpi_bus_update_power(acpi_handle handle, int *state_p); int acpi_device_update_power(struct acpi_device *device, int *state_p); bool acpi_bus_power_manageable(acpi_handle handle); +void acpi_dev_power_up_children_with_adr(struct acpi_device *adev); int acpi_device_power_add_dependent(struct acpi_device *adev, struct device *dev); void acpi_device_power_remove_dependent(struct acpi_device *adev, |