diff options
author | 2020-09-28 11:31:35 +0800 | |
---|---|---|
committer | 2020-10-26 10:45:04 +0100 | |
commit | 4007844b05815717f522c7ea9914e24ad0ff6c79 (patch) | |
tree | 84d776e2c845b7bf5c76c28ea9819f4b93db6554 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.10-rc1 (diff) | |
download | linux-dev-4007844b05815717f522c7ea9914e24ad0ff6c79.tar.xz linux-dev-4007844b05815717f522c7ea9914e24ad0ff6c79.zip |
soc: mediatek: Check if power domains can be powered on at boot time
In the error case, where a power domain cannot be powered on
successfully at boot time (in mtk_register_power_domains),
pm_genpd_init would still be called with is_off=false, and the
system would later try to disable the power domain again, triggering
warnings as disabled clocks are disabled again (and other potential
issues).
Also print a warning splat in that case, as this should never
happen.
Fixes: c84e358718a66f7 ("soc: Mediatek: Add SCPSYS power domain driver")
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Link: https://lore.kernel.org/r/20200928113107.v2.1.I5e6f8c262031d0451fe7241b744f4f3111c1ce71@changeid
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions