Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193464
b: refs/heads/master
c: 3254d28
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed May 11, 2010
1 parent c543bb1 commit 180ad04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd5722e5cdb233bbc47e782e10b3b5e3488a22fa
refs/heads/master: 3254d2850075c88083d870b3ee5e1ce0922cd3d9
4 changes: 4 additions & 0 deletions trunk/sound/soc/codecs/wm_hubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
break;
}

dev_dbg(codec->dev, "DCS input: %x %x\n", reg_l, reg_r);

/* HPOUT1L */
if (reg_l + hubs->dcs_codes > 0 &&
reg_l + hubs->dcs_codes < 0xff)
Expand All @@ -139,6 +141,8 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
reg_r += hubs->dcs_codes;
dcs_cfg |= reg_r;

dev_dbg(codec->dev, "DCS result: %x\n", dcs_cfg);

/* Do it */
snd_soc_write(codec, WM8993_DC_SERVO_3, dcs_cfg);
wait_for_dc_servo(codec,
Expand Down

0 comments on commit 180ad04

Please sign in to comment.