linux_dsm_epyc7002/sound
Pierre-Louis Bossart a94eaccefe
ASoC: hdac_hda: fix memleak with regmap not freed on remove
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.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200617164144.17859-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-06-17 20:28:30 +01:00
..
ac97
aoa
arm ASoC: arm: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:56 +00:00
atmel
core sound fixes for 5.7-rc1 2020-04-10 12:27:06 -07:00
drivers
firewire
hda ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
i2c
isa
mips
oss
parisc
pci ALSA: hda: Add ElkhartLake HDMI codec vid 2020-04-14 14:34:03 +01:00
pcmcia
ppc ALSA: ppc: keywest: convert to use i2c_new_client_device() 2020-03-27 09:33:01 +01:00
sh
soc ASoC: hdac_hda: fix memleak with regmap not freed on remove 2020-06-17 20:28:30 +01:00
sparc
spi
synth
usb ALSA: usb-audio: Add mixer workaround for TRX40 and co 2020-04-08 16:05:55 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c