openwrt/target/linux/brcm2708/patches-4.19/950-0723-codecs-Correct-Katana-minimum-volume.patch
Álvaro Fernández Rojas 2340c646e6 brcm2708: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2019-08-27 11:10:01 +02:00

24 lines
944 B
Diff

From 47f8fa0e373037e0c3ee9d6915546bd30226a9ed 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 723/773] 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,