Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221552
b: refs/heads/master
c: 6d212d8
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Nov 1, 2010
1 parent 5c217fe commit f6bb67d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: c593b520cf70b0672680da04cc1e8c5f93bd739d
refs/heads/master: 6d212d8e86fb4221bd91b9266b7567ee2b83bd01
6 changes: 0 additions & 6 deletions trunk/sound/soc/codecs/wm8900.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ static int wm8900_volatile_register(unsigned int reg)
{
switch (reg) {
case WM8900_REG_ID:
case WM8900_REG_POWER1:
return 1;
default:
return 0;
Expand Down Expand Up @@ -1200,11 +1199,6 @@ static int wm8900_probe(struct snd_soc_codec *codec)
return -ENODEV;
}

/* Read back from the chip */
reg = snd_soc_read(codec, WM8900_REG_POWER1);
reg = (reg >> 12) & 0xf;
dev_info(codec->dev, "WM8900 revision %d\n", reg);

wm8900_reset(codec);

/* Turn the chip on */
Expand Down

0 comments on commit f6bb67d

Please sign in to comment.