Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132928
b: refs/heads/master
c: d2314e0
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Mark Brown committed Mar 17, 2009
1 parent dc79410 commit caaaa91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 852fd9e50f62b4ea7afe26eee0710464de4801b8
refs/heads/master: d2314e0e27566f8830ebed3587cc049e07e6a4ee
3 changes: 2 additions & 1 deletion trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,8 @@ void snd_soc_free_pcms(struct snd_soc_device *socdev)
#ifdef CONFIG_SND_SOC_AC97_BUS
for (i = 0; i < codec->num_dai; i++) {
codec_dai = &codec->dai[i];
if (codec_dai->ac97_control && codec->ac97) {
if (codec_dai->ac97_control && codec->ac97 &&
strcmp(codec->name, "AC97") != 0) {
soc_ac97_dev_unregister(codec);
goto free_card;
}
Expand Down

0 comments on commit caaaa91

Please sign in to comment.