Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305604
b: refs/heads/master
c: 34ff0f9
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Mark Brown committed Apr 10, 2012
1 parent 365723b commit 09a7834
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbdd39155682e444941cc70f991154f2936a522b
refs/heads/master: 34ff0f95b1d7afc707f121ea3ae6b211fc176fbd
12 changes: 4 additions & 8 deletions trunk/sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -3936,7 +3936,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
return ret;
}

static int wm8994_codec_remove(struct snd_soc_codec *codec)
static int wm8994_codec_remove(struct snd_soc_codec *codec)
{
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
struct wm8994 *control = wm8994->wm8994;
Expand Down Expand Up @@ -3977,14 +3977,10 @@ static int wm8994_codec_remove(struct snd_soc_codec *codec)
free_irq(wm8994->micdet_irq, wm8994);
break;
}
if (wm8994->mbc)
release_firmware(wm8994->mbc);
if (wm8994->mbc_vss)
release_firmware(wm8994->mbc_vss);
if (wm8994->enh_eq)
release_firmware(wm8994->enh_eq);
release_firmware(wm8994->mbc);
release_firmware(wm8994->mbc_vss);
release_firmware(wm8994->enh_eq);
kfree(wm8994->retune_mobile_texts);

return 0;
}

Expand Down

0 comments on commit 09a7834

Please sign in to comment.