linux_dsm_epyc7002/drivers/soc/amlogic
Heiner Kallweit 87f88732d2 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: 339cd0ea08 "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>
2018-02-12 14:15:46 -08:00
..
Kconfig soc: amlogic: gx pm domain: add PM and OF dependencies 2017-11-02 23:43:55 +01:00
Makefile soc: amlogic: add Meson GX VPU Domains driver 2017-10-29 07:25:53 -07:00
meson-gx-pwrc-vpu.c soc: amlogic: meson-gx-pwrc-vpu: fix error on shutdown when domain is powered off 2018-02-12 14:15:46 -08:00
meson-gx-socinfo.c meson-gx-socinfo: Fix package id parsing 2017-11-30 15:29:44 -08:00
meson-mx-socinfo.c soc: amlogic: Add Meson6/Meson8/Meson8b/Meson8m2 SoC Information driver 2017-10-06 15:36:17 -07:00