Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20bac1f3 authored by Mark Brown's avatar Mark Brown
Browse files

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



Aids diagnostics.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 363947d7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;