]> git.itanic.dy.fi Git - linux-stable/commit
ACPI: PM: Add acpi_device_fix_up_power_children() function
authorHans de Goede <hdegoede@redhat.com>
Sun, 12 Nov 2023 20:36:26 +0000 (21:36 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Nov 2023 16:31:49 +0000 (17:31 +0100)
commit37ba91a82e3b9de35f64348c62b5ec7d74e3a41c
treeb0380d3e5d6b3eeae9031f0dec5dfa2a5764aee5
parent98b1cc82c4affc16f5598d4fa14b1858671b2263
ACPI: PM: Add acpi_device_fix_up_power_children() function

In some cases it is necessary to fix-up the power-state of an ACPI
device's children without touching the ACPI device itself add
a new acpi_device_fix_up_power_children() function for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: 6.6+ <stable@vger.kernel.org> # 6.6+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c
include/acpi/acpi_bus.h