diff options
author | Pierre-Louis Bossart <[email protected]> | 2020-06-17 11:41:44 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-17 20:28:30 +0100 |
commit | a94eaccefea1186947c5c5451fcae2245dd7e714 (patch) | |
tree | 0a00032002df1c8c68b042764116daa1be9dcb52 /tools/perf/scripts/python | |
parent | ed1220df6e666500ebf58c4f2fccc681941646fb (diff) |
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 <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions