diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-12-21 20:41:02 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-02-12 14:15:46 -0800 |
commit | 87f88732d25e6175cb4faa8070658f604660d720 (patch) | |
tree | 63fc7bdf422f8e467f114fb38f50763aab8f3710 /lib/kobject.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 <hkallweit1@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions