Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293179
b: refs/heads/master
c: 9887cb9
h: refs/heads/master
i:
  293177: bed2910
  293175: daa6d01
v: v3
  • Loading branch information
Mark Brown committed Jan 20, 2012
1 parent 8854bce commit edcbb7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: ba5c88d02de255b51d399001115384f8847cb0df
refs/heads/master: 9887cb9e651da91c5bad2578d71e7ff8410e14b7
13 changes: 1 addition & 12 deletions trunk/sound/soc/codecs/wm8955.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,18 +795,7 @@ static int wm8955_set_bias_level(struct snd_soc_codec *codec,
return ret;
}

/* Sync back cached values if they're
* different from the hardware default.
*/
for (i = 0; i < codec->driver->reg_cache_size; i++) {
if (i == WM8955_RESET)
continue;

if (reg_cache[i] == wm8955_reg[i])
continue;

snd_soc_write(codec, i, reg_cache[i]);
}
snd_soc_cache_sync(codec);

/* Enable VREF and VMID */
snd_soc_update_bits(codec, WM8955_POWER_MANAGEMENT_1,
Expand Down

0 comments on commit edcbb7e

Please sign in to comment.