Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270870
b: refs/heads/master
c: 38c436a
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 14, 2011
1 parent be6b217 commit 64aa496
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 524205ce7182986c1961cbecd32a87953d4e18c3
refs/heads/master: 38c436aa9f7dc23ebe9e8f7ae88c586acc033d30
5 changes: 4 additions & 1 deletion trunk/sound/soc/codecs/tlv320aic3x.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ static int aic3x_read(struct snd_soc_codec *codec, unsigned int reg,
if (reg >= AIC3X_CACHEREGNUM)
return -1;

*value = codec->hw_read(codec, reg);
codec->cache_bypass = 1;
*value = snd_soc_read(codec, reg);
codec->cache_bypass = 0;

cache[reg] = *value;

return 0;
Expand Down

0 comments on commit 64aa496

Please sign in to comment.