diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-08-30 22:15:21 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-09 13:40:14 +0100 |
| commit | 3e71dc4508bc84862dc3644e3b6a5b966bff22ad (patch) | |
| tree | d1dbae1111a4e7fe6de3055b2e039b1fbe6decb3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b4ed6a40b7ddaa3fc4bd8ed75969e57315900154 (diff) | |
ASoC: sta32x: make power restoration transactional
sta32x_set_bias_level() enables the codec supplies, restores the
coefficient and register state, and then starts the watchdog. Register
access errors in the mute and coefficient helpers and the cache replay
are discarded, allowing DAPM to publish STANDBY for a partially restored
codec.
Propagate every operation in the local restore transaction, including
the final standby-state write. Start the watchdog only after that write
succeeds. On failure, hold reset, mark the cache dirty, disable the
supplies and report a cleanup failure while preserving the primary
error. The DAPM bias callback consumes the returned error independently
of component resume handling.
Fixes: 54dc6cabe684 ("ASoC: sta32x: preserve coefficient RAM")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260830141521.33246-1-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
