openwrt/target/linux/brcm2708/patches-4.19/950-0631-codecs-Correct-Katana-minimum-volume.patch

24 lines
936 B
Diff
Raw Normal View History

From 43866e3396623775215943f3062a98c642fcae95 Mon Sep 17 00:00:00 2001
From: allo-com <jaikumar@cem-solutions.net>
Date: Mon, 29 Jul 2019 15:06:57 +0530
Subject: [PATCH] codecs: Correct Katana minimum volume
Update Katana minimum volume to get the exact 0.5 dB value in each step.
Signed-off-by: Sudeep Kumar <sudeepkumar@cem-solutions.net>
---
sound/soc/bcm/allo-katana-codec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/soc/bcm/allo-katana-codec.c
+++ b/sound/soc/bcm/allo-katana-codec.c
@@ -126,7 +126,7 @@ static SOC_VALUE_ENUM_SINGLE_DECL(katana
katana_codec_deemphasis_texts,
katana_codec_deemphasis_values);
-static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(master_tlv, -12700, 0);
+static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(master_tlv, -12750, 0);
static const struct snd_kcontrol_new katana_codec_controls[] = {
SOC_DOUBLE_R_TLV("Master Playback Volume", KATANA_CODEC_VOLUME_1,