diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-20 15:01:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-22 14:00:33 -0400 |
commit | 20bac1f3f470e2d5c87af7b41b10e088e47989bb (patch) | |
tree | ab79555f3ad0f87bd495be33163c156bcd19d2a0 /sound/soc/codecs/wm_hubs.c | |
parent | 363947d7d999f74dfd710fb7b7ccad965590f098 (diff) |
ASoC: wm_hubs: Add trace showing semantics of the DCS update
Aids diagnostics.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
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 b340552efe4e..b2e939a8970e 100644 --- a/sound/soc/codecs/wm_hubs.c +++ b/sound/soc/codecs/wm_hubs.c | |||
@@ -298,11 +298,15 @@ static void enable_dc_servo(struct snd_soc_codec *codec) | |||
298 | 298 | ||
299 | /* HPOUT1R */ | 299 | /* HPOUT1R */ |
300 | offset = (s8)reg_r; | 300 | offset = (s8)reg_r; |
301 | dev_dbg(codec->dev, "DCS right %d->%d\n", offset, | ||
302 | offset + hubs->dcs_codes_r); | ||
301 | offset += hubs->dcs_codes_r; | 303 | offset += hubs->dcs_codes_r; |
302 | dcs_cfg = (u8)offset << WM8993_DCS_DAC_WR_VAL_1_SHIFT; | 304 | dcs_cfg = (u8)offset << WM8993_DCS_DAC_WR_VAL_1_SHIFT; |
303 | 305 | ||
304 | /* HPOUT1L */ | 306 | /* HPOUT1L */ |
305 | offset = (s8)reg_l; | 307 | offset = (s8)reg_l; |
308 | dev_dbg(codec->dev, "DCS left %d->%d\n", offset, | ||
309 | offset + hubs->dcs_codes_l); | ||
306 | offset += hubs->dcs_codes_l; | 310 | offset += hubs->dcs_codes_l; |
307 | dcs_cfg |= (u8)offset; | 311 | dcs_cfg |= (u8)offset; |
308 | 312 | ||