linux/sound/soc/sti
Sander Vanheule 1696fad8b2
ASoC: sti: use managed regmap_field allocations
The regmap_field objects allocated at player init are never freed and
may leak resources if the driver is removed.

Switch to devm_regmap_field_alloc() to automatically limit the lifetime
of the allocations the lifetime of the device.

Fixes: 76c2145ded ("ASoC: sti: Add CPU DAI driver for playback")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Link: https://patch.msgid.link/20260220152634.480766-3-sander@svanheule.net
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-03-01 23:48:23 +00:00
..
Kconfig ASoC: sti: Standardize ASoC menu 2025-06-24 01:01:16 +01:00
Makefile ASoC: sti: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:33 +09:00
sti_uniperif.c ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00
uniperif_player.c ASoC: sti: use managed regmap_field allocations 2026-03-01 23:48:23 +00:00
uniperif_reader.c ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00
uniperif.h ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00