diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-23 09:30:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-23 09:30:41 -0500 |
commit | d50a87402e29e16a63152be810d9723ce4d87e37 (patch) | |
tree | 968932ec54cffd983b46bfb43d571c4d0d355561 /sound/soc/codecs/max98088.c | |
parent | 5033f43c66754296dfb0ac5c895208e4a7f93aac (diff) | |
parent | 24fb2b1174ddc1f844e2008eb5b3105832860395 (diff) |
Merge branch 'for-2.6.37' into for-2.6.38
Diffstat (limited to 'sound/soc/codecs/max98088.c')
-rw-r--r-- | sound/soc/codecs/max98088.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index c44b5f70b5e0..335a002aaf0e 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c | |||
@@ -2020,7 +2020,10 @@ err_access: | |||
2020 | 2020 | ||
2021 | static int max98088_remove(struct snd_soc_codec *codec) | 2021 | static int max98088_remove(struct snd_soc_codec *codec) |
2022 | { | 2022 | { |
2023 | struct max98088_priv *max98088 = snd_soc_codec_get_drvdata(codec); | ||
2024 | |||
2023 | max98088_set_bias_level(codec, SND_SOC_BIAS_OFF); | 2025 | max98088_set_bias_level(codec, SND_SOC_BIAS_OFF); |
2026 | kfree(max98088->eq_texts); | ||
2024 | 2027 | ||
2025 | return 0; | 2028 | return 0; |
2026 | } | 2029 | } |