diff options
author | Heiner Kallweit <[email protected]> | 2017-12-21 20:41:02 +0100 |
---|---|---|
committer | Kevin Hilman <[email protected]> | 2018-02-12 14:15:46 -0800 |
commit | 87f88732d25e6175cb4faa8070658f604660d720 (patch) | |
tree | 63fc7bdf422f8e467f114fb38f50763aab8f3710 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3a2ad7bd3151cc282f06d18948dfb7a0e1138fb2 (diff) |
soc: amlogic: meson-gx-pwrc-vpu: fix error on shutdown when domain is powered off
When operating the system headless headless, the domain is never
powered on, leaving the clocks disabled. The shutdown function then
tries to disable the already disabled clocks, resulting in errors.
Therefore call meson_gx_pwrc_vpu_power_off() only if domain is
powered on.
This patch fixes the described issue on my system (Odorid-C2).
Fixes: 339cd0ea0822 "soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader"
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions