Skip to content

Commit

Permalink
Merge branch 'for-2.6.29' into for-2.6.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Feb 13, 2009
2 parents d5e9ba1 + 14fa43f commit c85e5a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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 c85e5a4

Please sign in to comment.