Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189591
b: refs/heads/master
c: 3fa49e3
h: refs/heads/master
i:
  189589: b0fc521
  189587: 6b1092f
  189583: 2279397
v: v3
  • Loading branch information
Mark Brown committed Apr 5, 2010
1 parent f416665 commit 6eaa13c
Show file tree
Hide file tree
Showing 2 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: b5442a75deee293d10c2ab8f4a77013973c4c9e0
refs/heads/master: 3fa49e3ad9ac20b15edfb0c51bbad36e45a84b17
6 changes: 4 additions & 2 deletions trunk/sound/soc/codecs/wm_hubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,15 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
/* HPOUT1L */
reg = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1) &
WM8993_DCS_INTEG_CHAN_0_MASK;;
reg += hubs->dcs_codes;
if (reg + hubs->dcs_codes > 0 && reg + hubs->dcs_codes < 0xff)
reg += hubs->dcs_codes;
dcs_cfg = reg << WM8993_DCS_DAC_WR_VAL_1_SHIFT;

/* HPOUT1R */
reg = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2) &
WM8993_DCS_INTEG_CHAN_1_MASK;
reg += hubs->dcs_codes;
if (reg + hubs->dcs_codes > 0 && reg + hubs->dcs_codes < 0xff)
reg += hubs->dcs_codes;
dcs_cfg |= reg;

/* Do it */
Expand Down

0 comments on commit 6eaa13c

Please sign in to comment.