aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-4.19/950-0629-codecs-Correct-Katana-minimum-volume.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0629-codecs-Correct-Katana-minimum-volume.patch')
-rw-r--r--target/linux/bcm27xx/patches-4.19/950-0629-codecs-Correct-Katana-minimum-volume.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0629-codecs-Correct-Katana-minimum-volume.patch b/target/linux/bcm27xx/patches-4.19/950-0629-codecs-Correct-Katana-minimum-volume.patch
new file mode 100644
index 0000000000..fca281014e
--- /dev/null
+++ b/target/linux/bcm27xx/patches-4.19/950-0629-codecs-Correct-Katana-minimum-volume.patch
@@ -0,0 +1,23 @@
+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,