diff options
author | Aisheng Dong <aisheng.dong@nxp.com> | 2019-03-06 13:25:15 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-03-11 11:26:45 +0100 |
commit | 0cec68a97787db1ca5772f5939ec4db22de78d65 (patch) | |
tree | 8ee152d6b1829d4540aca70f656739de6b3cca97 /lib/interval_tree_test.c | |
parent | 46b7fe94995fd166786a301dbba919046e70e702 (diff) |
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 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions