Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170227
b: refs/heads/master
c: f773205
h: refs/heads/master
i:
  170225: 257253c
  170223: cd24121
v: v3
  • Loading branch information
Barry Song authored and Mark Brown committed Nov 12, 2009
1 parent c4aaae5 commit da299e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: ba2b87f5a93659a28cc4fb812ccd7b4146ac3aa9
refs/heads/master: f773205300fa4a5a405f8ed6e3bb97e46c6eefb4
9 changes: 5 additions & 4 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1083,11 +1083,8 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
continue;
}
}
if (card->dai_link[i].codec_dai->ac97_control) {
if (card->dai_link[i].codec_dai->ac97_control)
ac97 = 1;
snd_ac97_dev_add_pdata(codec->ac97,
card->dai_link[i].cpu_dai->ac97_pdata);
}
}

snprintf(codec->card->shortname, sizeof(codec->card->shortname),
Expand Down Expand Up @@ -1510,6 +1507,10 @@ int snd_soc_new_pcms(struct snd_soc_device *socdev, int idx, const char *xid)
mutex_unlock(&codec->mutex);
return ret;
}
if (card->dai_link[i].codec_dai->ac97_control) {
snd_ac97_dev_add_pdata(codec->ac97,
card->dai_link[i].cpu_dai->ac97_pdata);
}
}

mutex_unlock(&codec->mutex);
Expand Down

0 comments on commit da299e9

Please sign in to comment.