Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321363
b: refs/heads/master
c: d0e3cce
h: refs/heads/master
i:
  321361: 45efa4b
  321359: b020130
v: v3
  • Loading branch information
Manuel Lauss authored and Mark Brown committed Jul 31, 2012
1 parent fa67bd0 commit 1ce8f93
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eef69ac7c9672049069a0bb88dae756fdec4de07
refs/heads/master: d0e3cce9144eb8bff0852531aadbe221addaa2d5
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/ad1980.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ static int ad1980_soc_probe(struct snd_soc_codec *codec)

printk(KERN_INFO "AD1980 SoC Audio Codec\n");

codec->control_data = codec; /* we don't use regmap! */
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0) {
printk(KERN_ERR "ad1980: failed to register AC97 codec\n");
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/stac9766.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ static int stac9766_codec_probe(struct snd_soc_codec *codec)

printk(KERN_INFO "STAC9766 SoC Audio Codec %s\n", STAC9766_VERSION);

codec->control_data = codec; /* we don't use regmap! */
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0)
goto codec_err;
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ static int wm9712_soc_probe(struct snd_soc_codec *codec)
{
int ret = 0;

codec->control_data = codec; /* we don't use regmap! */
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0) {
printk(KERN_ERR "wm9712: failed to register AC97 codec\n");
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm9713.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,7 @@ static int wm9713_soc_probe(struct snd_soc_codec *codec)
if (wm9713 == NULL)
return -ENOMEM;
snd_soc_codec_set_drvdata(codec, wm9713);
codec->control_data = wm9713; /* we don't use regmap! */

ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0)
Expand Down

0 comments on commit 1ce8f93

Please sign in to comment.