Skip to content

Commit c9921a3

Browse files
j-schambacherpelwell
authored andcommitted
ASoC:ma120x0p: Extend the volume range to -144dB (mute)
Adjusts the usable volume range down to -144dB to allow 'muting' of the amplifier through volume control. Signed-off-by: Joerg Schambacher <[email protected]>
1 parent d331f45 commit c9921a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/ma120x0p.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,13 +894,13 @@ static SOC_VALUE_ENUM_SINGLE_DECL(pwr_mode_ctrl,
894894
pwr_mode_values);
895895

896896
static const DECLARE_TLV_DB_SCALE(ma120x0p_vol_tlv, -5000, 100, 0);
897-
static const DECLARE_TLV_DB_SCALE(ma120x0p_lim_tlv, -5000, 100, 0);
897+
static const DECLARE_TLV_DB_SCALE(ma120x0p_lim_tlv, -14400, 100, 0);
898898
static const DECLARE_TLV_DB_SCALE(ma120x0p_lr_tlv, -5000, 100, 0);
899899

900900
static const struct snd_kcontrol_new ma120x0p_snd_controls[] = {
901901
//Master Volume
902902
SOC_SINGLE_RANGE_TLV("A.Mstr Vol Volume",
903-
ma_vol_db_master__a, 0, 0x18, 0x4a, 1, ma120x0p_vol_tlv),
903+
ma_vol_db_master__a, 0, 0x18, 0xa8, 1, ma120x0p_vol_tlv),
904904

905905
//L-R Volume ch0
906906
SOC_SINGLE_RANGE_TLV("B.L Vol Volume",

0 commit comments

Comments
 (0)