Re: [PATCH] ASoC: amd: acp3x-rt5682-max9836: Add missing error check for clock acquisition
From: Mark Brown
Date: Wed Mar 11 2026 - 14:57:11 EST
On Tue, 10 Mar 2026 10:42:46 +0800, Chen Ni wrote:
> The acp3x_5682_init() function did not check the return value of
> clk_get(), which could lead to dereferencing error pointers in
> rt5682_clk_enable().
>
> Fix this by:
> 1. Changing clk_get() to the device-managed devm_clk_get().
> 2. Adding proper IS_ERR() checks for both clock acquisitions.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: amd: acp3x-rt5682-max9836: Add missing error check for clock acquisition
commit: 53f3a900e9a383d47af7253076e19f510c5708d0
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