Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270871
b: refs/heads/master
c: 370f464
h: refs/heads/master
i:
  270869: be6b217
  270867: 70fc167
  270863: 895c755
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 14, 2011
1 parent 64aa496 commit 8e6e782
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 38c436aa9f7dc23ebe9e8f7ae88c586acc033d30
refs/heads/master: 370f464533c455864f2f5ce100eee361263e144f
4 changes: 3 additions & 1 deletion trunk/sound/soc/codecs/wm8961.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,9 @@ static int wm8961_probe(struct snd_soc_codec *codec)
}

/* This isn't volatile - readback doesn't correspond to write */
reg = codec->hw_read(codec, WM8961_RIGHT_INPUT_VOLUME);
codec->cache_bypass = 1;
reg = snd_soc_read(codec, WM8961_RIGHT_INPUT_VOLUME);
codec->cache_bypass = 0;
dev_info(codec->dev, "WM8961 family %d revision %c\n",
(reg & WM8961_DEVICE_ID_MASK) >> WM8961_DEVICE_ID_SHIFT,
((reg & WM8961_CHIP_REV_MASK) >> WM8961_CHIP_REV_SHIFT)
Expand Down

0 comments on commit 8e6e782

Please sign in to comment.