summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2025-02-08 00:54:35 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-22 12:56:50 -0700
commitbad7b745ddc1a9de4feab83deda15b9296dcc735 (patch)
treebe1691fd4c59a634d8d563787744390d1ffce01f /sound
parentd6543b93538400c25f56912eb16ae03f70f28102 (diff)
downloadlinux-bad7b745ddc1a9de4feab83deda15b9296dcc735.tar.gz
linux-bad7b745ddc1a9de4feab83deda15b9296dcc735.tar.bz2
linux-bad7b745ddc1a9de4feab83deda15b9296dcc735.zip
ASoC: tas2770: Fix volume scale
[ Upstream commit 579cd64b9df8a60284ec3422be919c362de40e41 ] The scale starts at -100dB, not -128dB. Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://patch.msgid.link/20250208-asoc-tas2770-v1-1-cf50ff1d59a3@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tas2770.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2770.c b/sound/soc/codecs/tas2770.c
index 9f93b230652a..863c3f672ba9 100644
--- a/sound/soc/codecs/tas2770.c
+++ b/sound/soc/codecs/tas2770.c
@@ -506,7 +506,7 @@ static int tas2770_codec_probe(struct snd_soc_component *component)
}
static DECLARE_TLV_DB_SCALE(tas2770_digital_tlv, 1100, 50, 0);
-static DECLARE_TLV_DB_SCALE(tas2770_playback_volume, -12750, 50, 0);
+static DECLARE_TLV_DB_SCALE(tas2770_playback_volume, -10050, 50, 0);
static const struct snd_kcontrol_new tas2770_snd_controls[] = {
SOC_SINGLE_TLV("Speaker Playback Volume", TAS2770_PLAY_CFG_REG2,