summaryrefslogtreecommitdiffstats
path: root/drivers/base/power/domain_governor.c
diff options
context:
space:
mode:
authorAisheng Dong <aisheng.dong@nxp.com>2019-03-06 14:25:15 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-03-11 11:26:45 +0100
commit0cec68a97787db1ca5772f5939ec4db22de78d65 (patch)
tree8ee152d6b1829d4540aca70f656739de6b3cca97 /drivers/base/power/domain_governor.c
parentPM / Domains: Improve warn for multiple states but no governor (diff)
downloadlinux-0cec68a97787db1ca5772f5939ec4db22de78d65.tar.xz
linux-0cec68a97787db1ca5772f5939ec4db22de78d65.zip
PM / Domains: Return early for all errors in _genpd_power_off()
It is strange to only return early for -EBUSY state and left other errors to be still measured execution time. As for error cases, the elapsed_ns computed actually is not quite accurate and meaningful for governor to use. So let's simply return for all error cases. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power/domain_governor.c')
0 files changed, 0 insertions, 0 deletions