Re: [PATCH 0/6] ASoC: codecs: Fix resource leaks on card re-bind

From: Mark Brown

Date: Mon Sep 14 2026 - 15:08:57 EST


On Sun, 13 Sep 2026 19:15:25 +0900, Chancel Liu wrote:
> ASoC: codecs: Fix resource leaks on card re-bind
>
> From: Chancel Liu <chancel.liu@xxxxxxx>
>
> Several ASoC codec drivers set up per-device resources from their ASoC
> component probe, but the associated cleanup is tied to the underlying bus
> (I2C/SPI) device rather than being balanced per component probe. This is
> fine for a plain probe/remove, but it breaks when the sound card is
> unregistered and re-registered while the bus device stays bound (a card
> re-bind): the component probe runs again while the previous bus-level
> resources are still live.
>
> [...]

Applied to

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

Thanks!

[1/6] ASoC: wm8962: Fix regulator notifier and beep leaks on card re-bind
https://git.kernel.org/broonie/sound/c/b9e5343ba72a
[2/6] ASoC: wm8995: Register regulator notifiers from the bus probe
https://git.kernel.org/broonie/sound/c/644914663c9f
[3/6] ASoC: tlv320aic31xx: Register regulator notifier from the I2C probe
https://git.kernel.org/broonie/sound/c/10e2ccaae497
[4/6] ASoC: tlv320aic3x: Register regulator notifier from the bus probe
https://git.kernel.org/broonie/sound/c/3efb5b99f642
[5/6] ASoC: cs42l52: Fix beep input device leak on card re-bind
https://git.kernel.org/broonie/sound/c/115a5655bcbb
[6/6] ASoC: cs42l56: Fix beep input device leak on card re-bind
https://git.kernel.org/broonie/sound/c/c5907dcc13ad

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