Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: wm_hubs: Add trace showing semantics of the DCS update

Aids diagnostics.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

+4
+4
sound/soc/codecs/wm_hubs.c
··· 298 298 299 299 /* HPOUT1R */ 300 300 offset = (s8)reg_r; 301 + dev_dbg(codec->dev, "DCS right %d->%d\n", offset, 302 + offset + hubs->dcs_codes_r); 301 303 offset += hubs->dcs_codes_r; 302 304 dcs_cfg = (u8)offset << WM8993_DCS_DAC_WR_VAL_1_SHIFT; 303 305 304 306 /* HPOUT1L */ 305 307 offset = (s8)reg_l; 308 + dev_dbg(codec->dev, "DCS left %d->%d\n", offset, 309 + offset + hubs->dcs_codes_l); 306 310 offset += hubs->dcs_codes_l; 307 311 dcs_cfg |= (u8)offset; 308 312