aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle-psci-domain.c
diff options
context:
space:
mode:
authorGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2023-02-07 20:59:59 +0100
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2023-02-13 16:08:44 +0100
commit41204a607679ccca7eabff9f2871b969d6ef2ce3 (patch)
tree3952dda9691d1912cbea756fe67bcf8519d9e33c /drivers/cpuidle/cpuidle-psci-domain.c
parentcpuidle: sysfs: make kobj_type structures constant (diff)
downloadlinux-41204a607679ccca7eabff9f2871b969d6ef2ce3.tar.gz
linux-41204a607679ccca7eabff9f2871b969d6ef2ce3.tar.bz2
linux-41204a607679ccca7eabff9f2871b969d6ef2ce3.zip
cpuidle: driver: Update microsecond values of state parameters as needed
If the cpuidle driver provides the target residency and exit latency in nanoseconds, the corresponding values in microseconds need to be set to reflect the provided numbers in order for the sysfs interface to show them correctly, so make __cpuidle_driver_init() do that. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle-psci-domain.c')
0 files changed, 0 insertions, 0 deletions