diff options
Diffstat (limited to 'sound/soc/codecs/wm_hubs.c')
-rw-r--r-- | sound/soc/codecs/wm_hubs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index defdbd08e135..8ad43bb32eb0 100644 --- a/sound/soc/codecs/wm_hubs.c +++ b/sound/soc/codecs/wm_hubs.c | |||
@@ -127,6 +127,8 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec) | |||
127 | break; | 127 | break; |
128 | } | 128 | } |
129 | 129 | ||
130 | dev_dbg(codec->dev, "DCS input: %x %x\n", reg_l, reg_r); | ||
131 | |||
130 | /* HPOUT1L */ | 132 | /* HPOUT1L */ |
131 | if (reg_l + hubs->dcs_codes > 0 && | 133 | if (reg_l + hubs->dcs_codes > 0 && |
132 | reg_l + hubs->dcs_codes < 0xff) | 134 | reg_l + hubs->dcs_codes < 0xff) |
@@ -139,6 +141,8 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec) | |||
139 | reg_r += hubs->dcs_codes; | 141 | reg_r += hubs->dcs_codes; |
140 | dcs_cfg |= reg_r; | 142 | dcs_cfg |= reg_r; |
141 | 143 | ||
144 | dev_dbg(codec->dev, "DCS result: %x\n", dcs_cfg); | ||
145 | |||
142 | /* Do it */ | 146 | /* Do it */ |
143 | snd_soc_write(codec, WM8993_DC_SERVO_3, dcs_cfg); | 147 | snd_soc_write(codec, WM8993_DC_SERVO_3, dcs_cfg); |
144 | wait_for_dc_servo(codec, | 148 | wait_for_dc_servo(codec, |