From: Mark Brown Date: Mon, 20 Aug 2012 19:01:51 +0000 (+0100) Subject: ASoC: wm_hubs: Add trace showing semantics of the DCS update X-Git-Tag: v3.7-rc2~30^2~1^2~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20bac1f3f470e2d5c87af7b41b10e088e47989bb;p=profile%2Fivi%2Fkernel-x86-ivi.git ASoC: wm_hubs: Add trace showing semantics of the DCS update Aids diagnostics. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index b340552..b2e939a 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) /* HPOUT1R */ offset = (s8)reg_r; + dev_dbg(codec->dev, "DCS right %d->%d\n", offset, + offset + hubs->dcs_codes_r); offset += hubs->dcs_codes_r; dcs_cfg = (u8)offset << WM8993_DCS_DAC_WR_VAL_1_SHIFT; /* HPOUT1L */ offset = (s8)reg_l; + dev_dbg(codec->dev, "DCS left %d->%d\n", offset, + offset + hubs->dcs_codes_l); offset += hubs->dcs_codes_l; dcs_cfg |= (u8)offset;