diff options
| author | Vishnu Reddy <busanna.reddy@oss.qualcomm.com> | 2026-08-18 21:24:17 +0530 |
|---|---|---|
| committer | Bryan O'Donoghue <bod@kernel.org> | 2026-09-29 12:05:40 +0100 |
| commit | 9cfae7726a9a9f526e8905dbddde355be2674e3d (patch) | |
| tree | 05ce9592b0d4e8d12baafa4ffda9e378f374df4d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1facae9bc3c1cfcabc77184754d64c349831cbc5 (diff) | |
media: iris: Fix power-off ordering to disable power domain after clocks
In iris_vpu_power_off_hw(), iris_disable_power_domains() was called
before the associated clocks (IRIS_BSE_HW_CLK, IRIS_HW_AHB_CLK,
IRIS_HW_CLK) were disabled and unprepared. This reverses the correct
power-down sequence: with the power domain already removed, the
subsequent clk_disable_unprepare() calls end up operating on
clock-controller hardware that is no longer powered, which can hang
or behave unpredictably.
Reorder the calls so iris_disable_power_domains() runs after all
three clocks are disabled, ensuring clocks are always turned off
while their power domain is still active, and mirroring the reverse
of the power-on sequence.
Fixes: bb8a95aa038e ("media: iris: implement power management")
Cc: stable@vger.kernel.org
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
