[PATCH] ASoC: hdac_hda: fix memleak with regmap not freed on remove

Mark Brown broonie at kernel.org
Wed Jun 17 21:59:04 CEST 2020


On Wed, 17 Jun 2020 11:41:44 -0500, Pierre-Louis Bossart wrote:
> kmemleak throws error reports on module load/unload tests, add
> snd_hdac_regmap_exit() in .remove().
> 
> While we are at it, also fix the error handling flow in .probe() to
> use snd_hdac_regmap_exit() if needed.

Applied to

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

Thanks!

[1/1] ASoC: hdac_hda: fix memleak with regmap not freed on remove
      commit: a94eaccefea1186947c5c5451fcae2245dd7e714

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


More information about the Alsa-devel mailing list