diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-06-17 19:41:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-17 22:28:30 +0300 |
commit | a94eaccefea1186947c5c5451fcae2245dd7e714 (patch) | |
tree | 0a00032002df1c8c68b042764116daa1be9dcb52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ed1220df6e666500ebf58c4f2fccc681941646fb (diff) | |
download | linux-a94eaccefea1186947c5c5451fcae2245dd7e714.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions