Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270857
b: refs/heads/master
c: f0bbc2b
h: refs/heads/master
i:
  270855: 44574f1
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 13, 2011
1 parent 2019213 commit 42d4bae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: dbe37dbc1bf1629e517b7ef57429fb6af1f186af
refs/heads/master: f0bbc2b55f47f93286bb1b9ddbdb8ffed3572064
5 changes: 1 addition & 4 deletions trunk/sound/soc/codecs/sta32x.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,10 +756,6 @@ static int sta32x_probe(struct snd_soc_codec *codec)
return ret;
}

/* read reg reset values into cache */
for (i = 0; i < STA32X_REGISTER_COUNT; i++)
snd_soc_cache_write(codec, i, sta32x_regs[i]);

/* preserve reset values of reserved register bits */
snd_soc_cache_write(codec, STA32X_CONFC,
codec->hw_read(codec, STA32X_CONFC));
Expand Down Expand Up @@ -837,6 +833,7 @@ static const struct snd_soc_codec_driver sta32x_codec = {
.resume = sta32x_resume,
.reg_cache_size = STA32X_REGISTER_COUNT,
.reg_word_size = sizeof(u8),
.reg_cache_default = sta32x_regs,
.volatile_register = sta32x_reg_is_volatile,
.set_bias_level = sta32x_set_bias_level,
.controls = sta32x_snd_controls,
Expand Down

0 comments on commit 42d4bae

Please sign in to comment.