diff options
| author | Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com> | 2026-07-02 00:14:58 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-03 14:54:34 +0100 |
| commit | eb667d0fbdd38d5a800b9e7aafc9a6c14530b9bf (patch) | |
| tree | f24daa84e527878c98f39754835460724378ee00 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cd054a6e272caa97ab808ef6f5588749a1429108 (diff) | |
ASoC: codecs: lpass-va-macro: Switch to PM clock framework for runtime PM
Convert the LPASS VA macro codec driver to runtime PM clock management by
using the PM clock framework.
Replace manual macro/dcodec/mclk/npl clock handling with PM clock helpers
and runtime PM callbacks, and keep runtime PM references around fsgen clock
gating so PM-clock-managed clocks remain active while fsgen is enabled.
Set autosuspend delay to 100 ms so PM-clock-managed votes are dropped soon
after idle while still avoiding suspend/resume churn on short gaps.
Add a PM_CLK dependency to SND_SOC_LPASS_VA_MACRO since this patch
introduces PM clock APIs.
Improve failure unwind paths: handle runtime PM put errors in probe/fsgen
paths and restore regcache state correctly on resume failure.
Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260702-xo-sd-codec-v7-b4-v8-2-d39d0fdb7859@oss.qualcomm.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
