summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2026-10-28 19:45:00 +0800
committerMark Brown <broonie@kernel.org>2026-11-01 23:46:50 +0000
commite2df0223ba6dbdf028c45b4a018e6b15642a39af (patch)
tree903f850f2de44ce6360c9c6ece91853e53c9e62f /scripts
parentac0113d24575f56678c1d39891fadba3002ddbdb (diff)
ASoC: codecs: lpass-rx-macro: fix PM ref leak in swclk_gate_enable
swclk_gate_enable() calls pm_runtime_resume_and_get() (incrementing the PM usage counter and, via of_pm_clk_add_clks, enabling mclk) before rx_macro_mclk_enable(). On rx_macro_mclk_enable() failure it called clk_disable_unprepare(rx->mclk) and returned, leaking the PM usage counter and potentially unbalancing the clock that the PM clock domain also manages. The sibling tx-macro/va-macro drivers call pm_runtime_put_autosuspend() here; do the same. Fixes: e38cbb75248a ("ASoC: codecs: lpass-rx-macro: Propagate regcache_sync() errors") Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Reviewed-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com> Link: https://patch.msgid.link/20261028114501.2192-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions