Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283974
b: refs/heads/master
c: 202a51a
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Dec 17, 2011
1 parent 5032785 commit 698d028
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: 2ec2a9061dac94ca4c5af13566fe107d84c30d4e
refs/heads/master: 202a51a8d9c1fddea9eca5953e6e7d7d504a4343
13 changes: 1 addition & 12 deletions trunk/sound/soc/codecs/wm8961.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,18 +1047,7 @@ static int wm8961_suspend(struct snd_soc_codec *codec)

static int wm8961_resume(struct snd_soc_codec *codec)
{
u16 *reg_cache = codec->reg_cache;
int i;

for (i = 0; i < codec->driver->reg_cache_size; i++) {
if (reg_cache[i] == wm8961_reg_defaults[i])
continue;

if (i == WM8961_SOFTWARE_RESET)
continue;

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

wm8961_set_bias_level(codec, SND_SOC_BIAS_STANDBY);

Expand Down

0 comments on commit 698d028

Please sign in to comment.