summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorCunhao Lu <1579567540@qq.com>2026-11-18 17:03:46 +0800
committerUlf Hansson <ulfh@kernel.org>2026-11-25 12:36:25 +0100
commitfaa6cd23f6269990b09ec63849239aae5cdb238b (patch)
treed8b78bc8c6391c19983c4bea5d0ba7fcf6939dd2 /tools/lib/python
parent458777762756acfc7d2c20067cca6cc817cc8dec (diff)
pmdomain: rockchip: Roll back power-on when leaving idle fails
When NIU idle exit fails after PMU power-on, clocks and the regulator reference are released while the domain remains powered. genpd treats it as off and may power off its parents. Request idle again and, if successful, use the low-level power-off path before releasing resources. This preserves saved QoS and notifies firmware while retaining the original error. If rollback fails, resources are still released and genpd may power off the parents. Fixes: 6b2690df3f03 ("pmdomain: rockchip: fix rockchip_pd_power error handling") Cc: stable@vger.kernel.org Signed-off-by: Cunhao Lu <1579567540@qq.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions