Re: [PATCH v2 0/3] ASoC: codecs: lpass-{tx,rx}-macro: switch to PM clock framework

From: Mark Brown

Date: Fri Jul 10 2026 - 18:22:32 EST


On Tue, 07 Jul 2026 15:13:10 +0530, Ajay Kumar Nandam wrote:
> ASoC: codecs: lpass-{tx,rx}-macro: switch to PM clock framework
>
> Convert the LPASS TX and RX macro codec drivers to runtime PM clock
> management using the PM clock framework, completing the LPASS macro PM
> clock migration started with the WSA/VA macros [1].
>
> The conversion follows the same pattern established in the WSA/VA series:
> - PM clocks created and populated from DT via devm_pm_clk_create() +
> of_pm_clk_add_clks(), inlined in probe (no helper wrapper).
> - Runtime PM enabled via devm_pm_runtime_enable() with 100 ms autosuspend.
> - runtime_suspend: regcache_cache_only first, pm_clk_suspend, then
> regcache_mark_dirty only on success; rollback on failure.
> - runtime_resume: pm_clk_resume with regcache unwind, regcache_sync with
> full unwind on failure.
> - SWR clock gate prepare/unprepare routed through pm_runtime_resume_and_get
> / pm_runtime_put_autosuspend.
> - Probe error paths tightened with dev_warn on PM put failures.
> - Empty remove callbacks dropped (devm handles cleanup).
> - PM_CLK Kconfig dependency added.
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/3] ASoC: codecs: lpass-tx-macro: switch to PM clock framework for runtime PM
https://git.kernel.org/broonie/sound/c/b9b23e72abef
[2/3] ASoC: codecs: lpass-rx-macro: switch to PM clock framework for runtime PM
https://git.kernel.org/broonie/sound/c/b05482e7ce1b
[3/3] ASoC: codecs: lpass-{tx,rx}-macro: check clk_set_rate() return value
https://git.kernel.org/broonie/sound/c/b8ca90fafe6a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark