audio: codecs: fix TL1 reference board volume too small [2/2]

PD#SWPL-2652

Problem:
    X301/T309 AMP volume configured to small

Solution:
    change the default external AMP codec mixer name to a match
    the ini parsing function in audio hal.
    TODO: need dynamically check the different codec mixer name
    in ini file.

Verify:
    verify by x301

Change-Id: Iba835d37ea02bec3095556d54fbf327bd6390904
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
This commit is contained in:
Jian Xu
2018-12-11 14:48:14 +08:00
committed by Jianxin Pan
parent ed988b87f0
commit afb2ca22d8

View File

@@ -36,11 +36,11 @@ static const DECLARE_TLV_DB_SCALE(mvol_tlv, -10300, 50, 1);
static const DECLARE_TLV_DB_SCALE(chvol_tlv, -10300, 50, 1);
static const struct snd_kcontrol_new ad82584f_snd_controls[] = {
SOC_SINGLE_TLV("Master Volume", MVOL, 0,
SOC_SINGLE_TLV("AMP Master Volume", MVOL, 0,
0xff, 1, mvol_tlv),
SOC_SINGLE_TLV("Ch1 Volume", C1VOL, 0,
SOC_SINGLE_TLV("AMP Ch1 Volume", C1VOL, 0,
0xff, 1, chvol_tlv),
SOC_SINGLE_TLV("Ch2 Volume", C2VOL, 0,
SOC_SINGLE_TLV("AMP Ch2 Volume", C2VOL, 0,
0xff, 1, chvol_tlv),
};