diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2016-04-15 15:11:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-15 20:01:02 +0300 |
commit | 54dca7015a7d6c09d34623c6ec61de30896186dd (patch) | |
tree | b729c587dc798247b6305bfa6ff558277f5d3f59 /sound/soc/codecs/wm5110.c | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | linux-54dca7015a7d6c09d34623c6ec61de30896186dd.tar.xz |
ASoC: arizona: Free speaker thermal IRQs in CODEC remove
The thermal warning IRQs for the speaker are requested in CODEC probe
but never freed. This patch frees them in CODEC remove.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm5110.c')
-rw-r--r-- | sound/soc/codecs/wm5110.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index 83ba70fe16e6..2728ac545ffe 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c @@ -2298,6 +2298,8 @@ static int wm5110_codec_remove(struct snd_soc_codec *codec) arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, priv); + arizona_free_spk(codec); + return 0; } |