Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216612
b: refs/heads/master
c: e595b32
h: refs/heads/master
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Oct 5, 2010
1 parent 7be95b3 commit 0669e5a
Show file tree
Hide file tree
Showing 2 changed files with 9 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: f479fd93d4028afccf155dec736c6d49cde92571
refs/heads/master: e595b3252f4a53fc52227ca7a8b94199f9f319a9
8 changes: 8 additions & 0 deletions trunk/sound/soc/codecs/wm8804.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,14 @@ static int wm8804_probe(struct snd_soc_codec *codec)
goto err_reg_enable;
}

ret = snd_soc_read(codec, WM8804_DEVREV);
if (ret < 0) {
dev_err(codec->dev, "Failed to read device revision: %d\n",
ret);
goto err_reg_enable;
}
dev_info(codec->dev, "revision %c\n", ret + 'A');

ret = wm8804_reset(codec);
if (ret < 0) {
dev_err(codec->dev, "Failed to issue reset: %d\n", ret);
Expand Down

0 comments on commit 0669e5a

Please sign in to comment.