Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293462
b: refs/heads/master
c: f320515
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Mar 6, 2012
1 parent df258c1 commit ab45eeb
Show file tree
Hide file tree
Showing 2 changed files with 7 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: ba106ce3d04db9085d32b47aee545c35b586827a
refs/heads/master: f320515a589eeb9bfbc317801e60b87a12f9eae1
6 changes: 6 additions & 0 deletions trunk/sound/soc/codecs/wm8804.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,12 @@ static __devinit int wm8804_i2c_probe(struct i2c_client *i2c,
if (!wm8804)
return -ENOMEM;

wm8804->regmap = regmap_init_i2c(i2c, &wm8804_regmap_config);
if (IS_ERR(wm8804->regmap)) {
ret = PTR_ERR(wm8804->regmap);
return ret;
}

i2c_set_clientdata(i2c, wm8804);

ret = snd_soc_register_codec(&i2c->dev,
Expand Down

0 comments on commit ab45eeb

Please sign in to comment.