Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270887
b: refs/heads/master
c: df3431b
h: refs/heads/master
i:
  270885: e1a2ccd
  270883: 9d4e2b4
  270879: 45bceef
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 17, 2011
1 parent e801b6c commit 2335201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 3a340104fad6ecbea5ad6792a2ea855f0507a6e0
refs/heads/master: df3431b74e72c73e8750bfe1b2a5c99eff958356
10 changes: 1 addition & 9 deletions trunk/sound/soc/codecs/wm8741.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,15 +404,7 @@ static struct snd_soc_dai_driver wm8741_dai = {
#ifdef CONFIG_PM
static int wm8741_resume(struct snd_soc_codec *codec)
{
u16 *cache = codec->reg_cache;
int i;

/* RESTORE REG Cache */
for (i = 0; i < WM8741_REGISTER_COUNT; i++) {
if (cache[i] == wm8741_reg_defaults[i] || WM8741_RESET == i)
continue;
snd_soc_write(codec, i, cache[i]);
}
snd_soc_cache_sync(codec);
return 0;
}
#else
Expand Down

0 comments on commit 2335201

Please sign in to comment.