]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: processor: idle: Rework the handling of acpi_processor_ffh_lpi_probe()
authorHuisong Li <lihuisong@huawei.com>
Tue, 20 Jan 2026 11:22:58 +0000 (19:22 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Jan 2026 15:33:43 +0000 (16:33 +0100)
commitcac173bea57d62c599f8717fde77b7824c6021ed
tree20d0b66396106c6248246b1d1ae44a6f8f1a3f66
parenta7a9c877ba6baa1b67e0f67858309e5aba7f9047
ACPI: processor: idle: Rework the handling of acpi_processor_ffh_lpi_probe()

Move the acpi_processor_ffh_lpi_probe() call from
acpi_processor_setup_cpuidle_dev(), where its return value is
ignored, to acpi_processor_get_power_info(), which can take the
return value of that function into account in a meaningful way
and generally is a more suitable place for calling it.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
[ rjw: Message adjustment, subject and changelog edits ]
Link: https://patch.msgid.link/20260120112258.1595164-4-lihuisong@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c