Re: [PATCH 0/2] ASoC: sti: regmap_field usage improvements

From: Mark Brown

Date: Tue Mar 03 2026 - 06:22:10 EST


On Fri, 20 Feb 2026 16:26:32 +0100, Sander Vanheule wrote:
> uni_player_parse_dt_audio_glue() allocates two regmap_field objects on
> the device's regmap. However, error codes from these allocations are not
> propagated correctly and the resources will leak on device removal.
>
> These issues were found while looking for users of regmap_field_alloc(),
> to assess the impact of adding a cleanup helper for regmap_field. It
> appears this driver is the only (remaining) in-tree user of this
> allocator. Since the resources are long-lived, it may as well switch to
> devm_regmap_field_alloc().
>
> [...]

Applied to

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

Thanks!

[1/2] ASoC: sti: Return errors from regmap_field_alloc()
commit: 272aabef50bc3fe58edd26de000f4cdd41bdbe60
[2/2] ASoC: sti: use managed regmap_field allocations
commit: 1696fad8b259a2d46e51cd6e17e4bcdbe02279fa

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