summaryrefslogtreecommitdiff
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-02-25 22:06:45 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-03 22:20:06 +0300
commit01f6c7338ce267959975da65d86ba34f44d54220 (patch)
tree9f778256bd12023f5014bd7defee6c1c1489c616 /drivers/acpi/processor_idle.c
parent7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3 (diff)
downloadlinux-01f6c7338ce267959975da65d86ba34f44d54220.tar.xz
cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
Currently the first thing checked is whether the PCSI cpu_suspend function has been initialized. Another change will be overloading `acpi_processor_ffh_lpi_probe` and calling it sooner. So make the `has_lpi` check the first thing checked to prepare for that change. Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions