Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210995
b: refs/heads/master
c: d47372e
h: refs/heads/master
i:
  210993: dd484cc
  210991: 0e783a3
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Sep 22, 2010
1 parent 1d144f1 commit f0182bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: cbfa5184cc5f58627f08c7fad225424f565b439d
refs/heads/master: d47372e852391d0c6553dfbc7c4c56b89b527e13
5 changes: 3 additions & 2 deletions trunk/sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg,
data[1] = (value >> 8) & 0xff;
data[2] = value & 0xff;

if (!snd_soc_codec_volatile_register(codec, reg))
reg_cache[reg] = value;
if (!snd_soc_codec_volatile_register(codec, reg)
&& reg < codec->driver->reg_cache_size)
reg_cache[reg] = value;

if (codec->cache_only) {
codec->cache_sync = 1;
Expand Down

0 comments on commit f0182bb

Please sign in to comment.