Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132838
b: refs/heads/master
c: c85e5a4
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Feb 13, 2009
1 parent c0f1853 commit 1793b51
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d5e9ba1d58b6da1c58a91113fc350ece97ec5a0b
refs/heads/master: c85e5a4161b4768599deaee7a5df3ded9c34ea3b
5 changes: 4 additions & 1 deletion trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,10 @@ int snd_soc_init_card(struct snd_soc_device *socdev)

mutex_lock(&codec->mutex);
#ifdef CONFIG_SND_SOC_AC97_BUS
if (ac97) {
/* Only instantiate AC97 if not already done by the adaptor
* for the generic AC97 subsystem.
*/
if (ac97 && strcmp(codec->name, "AC97") != 0) {
ret = soc_ac97_dev_register(codec);
if (ret < 0) {
printk(KERN_ERR "asoc: AC97 device register failed\n");
Expand Down

0 comments on commit 1793b51

Please sign in to comment.