diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-07 19:03:08 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-24 23:50:26 +0100 |
| commit | f5f6941d92972ba66829a99999fa825e63da5162 (patch) | |
| tree | f7b87004b15fb71167a36c7528bfd7aab4f47fa6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1b65c13d1af99170e2a855ca9212a03daa3e7f04 (diff) | |
ASoC: mediatek: mt8188: mt8188-afe-pcm: Handle runtime resume errors
Errors from clock enable and regcache synchronization are currently
ignored during runtime resume.
Check the return values from mt8188_afe_enable_reg_rw_clk(),
regcache_sync(), and mt8188_afe_enable_main_clock(), and abort the
runtime resume if any of them fails.
On failure, disable the previously enabled reg_rw clocks and restore
the regmap to cache-only mode.
Fixes: bf106bf09376 ("ASoC: mediatek: mt8188: add platform driver")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20260907120310.135693-6-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
