Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257552
b: refs/heads/master
c: f9acf9f
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Jun 23, 2011
1 parent ae57582 commit be011f5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 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: ec3ea54c6c7163f5d6bbf52dd1ec485de2c378b6
refs/heads/master: f9acf9fe5be653aa359c75d60fdaff03bf1ef471
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm8993.c
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,7 @@ static int wm8993_probe(struct snd_soc_codec *codec)

wm8993->hubs_data.hp_startup_mode = 1;
wm8993->hubs_data.dcs_codes = -2;
wm8993->hubs_data.series_startup = 1;

ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_I2C);
if (ret != 0) {
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -2903,6 +2903,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
wm8994->hubs.dcs_codes = -5;
wm8994->hubs.hp_startup_mode = 1;
wm8994->hubs.dcs_readback_mode = 1;
wm8994->hubs.series_startup = 1;
break;
default:
wm8994->hubs.dcs_readback_mode = 1;
Expand Down
3 changes: 1 addition & 2 deletions trunk/sound/soc/codecs/wm_hubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
return;
}

/* Devices not using a DCS code correction have startup mode */
if (hubs->dcs_codes) {
if (hubs->series_startup) {
/* Set for 32 series updates */
snd_soc_update_bits(codec, WM8993_DC_SERVO_1,
WM8993_DCS_SERIES_NO_01_MASK,
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 @@ -23,6 +23,7 @@ struct wm_hubs_data {
int dcs_codes;
int dcs_readback_mode;
int hp_startup_mode;
int series_startup;

bool class_w;
u16 class_w_dcs;
Expand Down

0 comments on commit be011f5

Please sign in to comment.