diff options
| author | 2019-03-06 13:25:15 +0000 | |
|---|---|---|
| committer | 2019-03-11 11:26:45 +0100 | |
| commit | 0cec68a97787db1ca5772f5939ec4db22de78d65 (patch) | |
| tree | 8ee152d6b1829d4540aca70f656739de6b3cca97 /lib/mpi | |
| parent | PM / Domains: Improve warn for multiple states but no governor (diff) | |
| download | linux-dev-0cec68a97787db1ca5772f5939ec4db22de78d65.tar.xz linux-dev-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 'lib/mpi')
0 files changed, 0 insertions, 0 deletions
