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

ASoC: tas2552: fix dBscale-min declaration

The minimum volume level for the TAS2552 (control register value 0x00)
is -7dB however the driver declares it as -0.07dB.

Running amixer before the patch reports:
dBscale-min=-0.07dB,step=1.00dB,mute=0

Running amixer with the patch applied reports:
dBscale-min=-7.00dB,step=1.00dB,mute=0

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org

authored by

Andreas Dannenberg and committed by
Mark Brown
e2600460 6ff33f39

+1 -1
+1 -1
sound/soc/codecs/tas2552.c
··· 549 549 /* 550 550 * DAC digital volumes. From -7 to 24 dB in 1 dB steps 551 551 */ 552 - static DECLARE_TLV_DB_SCALE(dac_tlv, -7, 100, 0); 552 + static DECLARE_TLV_DB_SCALE(dac_tlv, -700, 100, 0); 553 553 554 554 static const char * const tas2552_din_source_select[] = { 555 555 "Muted",