mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
From 1752d9f7aeddf776bb6adb05e0c7ce46d262db45 Mon Sep 17 00:00:00 2001
|
|
From: Joerg Schambacher <joerg@hifiberry.com>
|
|
Date: Tue, 15 Nov 2022 18:04:45 +0100
|
|
Subject: [PATCH 479/726] ASoC:ma120x0p: Corrects the volume level display
|
|
|
|
Fixes the wrongly changed 'limiter volume' display back to -50dB minimum
|
|
and sets the correct minimum volume level to -144dB to be aligned with
|
|
the controls and display in alsamixer etc.
|
|
|
|
Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
|
|
---
|
|
sound/soc/codecs/ma120x0p.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/sound/soc/codecs/ma120x0p.c b/sound/soc/codecs/ma120x0p.c
|
|
index cd3808ea9849..dce60ded3ef9 100644
|
|
--- a/sound/soc/codecs/ma120x0p.c
|
|
+++ b/sound/soc/codecs/ma120x0p.c
|
|
@@ -893,8 +893,8 @@ static SOC_VALUE_ENUM_SINGLE_DECL(pwr_mode_ctrl,
|
|
pwr_mode_texts,
|
|
pwr_mode_values);
|
|
|
|
-static const DECLARE_TLV_DB_SCALE(ma120x0p_vol_tlv, -5000, 100, 0);
|
|
-static const DECLARE_TLV_DB_SCALE(ma120x0p_lim_tlv, -14400, 100, 0);
|
|
+static const DECLARE_TLV_DB_SCALE(ma120x0p_vol_tlv, -14400, 100, 0);
|
|
+static const DECLARE_TLV_DB_SCALE(ma120x0p_lim_tlv, -5000, 100, 0);
|
|
static const DECLARE_TLV_DB_SCALE(ma120x0p_lr_tlv, -5000, 100, 0);
|
|
|
|
static const struct snd_kcontrol_new ma120x0p_snd_controls[] = {
|
|
--
|
|
2.33.1
|
|
|