Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293439
b: refs/heads/master
c: 67109cb
h: refs/heads/master
i:
  293437: 4bc7828
  293435: 87d0a31
  293431: c324ed9
  293423: 4d7d336
  293407: f54cd5f
  293375: d6c68e3
v: v3
  • Loading branch information
Mark Brown committed Mar 4, 2012
1 parent 63dbdec commit fdd2721
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 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: b16db745b51a1ecd3fd526a2ff35d61f2962bd7f
refs/heads/master: 67109cbea1f92d369849dc88b6c9aca0f66c044e
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -3535,6 +3535,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
wm8994->hubs.dcs_readback_mode = 2;
wm8994->hubs.no_series_update = 1;
wm8994->hubs.hp_startup_mode = 1;
wm8994->hubs.no_cache_class_w = true;

switch (wm8994->revision) {
case 0:
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/codecs/wm_hubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)

/* Save the callibrated offset if we're in class W mode and
* therefore don't have any analogue signal mixed in. */
if (hubs->class_w)
if (hubs->class_w && !hubs->no_cache_class_w)
hubs->class_w_dcs = dcs_cfg;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm_hubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ struct wm_hubs_data {
int series_startup;
int no_series_update;

bool no_cache_class_w;
bool class_w;
u16 class_w_dcs;

Expand Down

0 comments on commit fdd2721

Please sign in to comment.