projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a479b0
)
ASoC: max98088 - fix a memory leak
author
Axel Lin
<axel.lin@gmail.com>
Tue, 23 Nov 2010 07:56:21 +0000
(15:56 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 23 Nov 2010 14:29:51 +0000
(14:29 +0000)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/max98088.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/max98088.c
b/sound/soc/codecs/max98088.c
index 470cb93b1d1f0a3e5d6caffb69e466cf7f5815d4..d63e28773eb1841ac7bdd06af0d37a0d5c03013b 100644
(file)
--- a/
sound/soc/codecs/max98088.c
+++ b/
sound/soc/codecs/max98088.c
@@
-2019,7
+2019,10
@@
err_access:
static int max98088_remove(struct snd_soc_codec *codec)
{
+ struct max98088_priv *max98088 = snd_soc_codec_get_drvdata(codec);
+
max98088_set_bias_level(codec, SND_SOC_BIAS_OFF);
+ kfree(max98088->eq_texts);
return 0;
}