diff options
Diffstat (limited to 'sound/soc/codecs/twl6040.c')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 255901c4460d..4c336636d4f5 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -960,9 +960,9 @@ static DECLARE_TLV_DB_SCALE(mic_amp_tlv, -600, 600, 0); | |||
960 | 960 | ||
961 | /* | 961 | /* |
962 | * AFMGAIN volume control: | 962 | * AFMGAIN volume control: |
963 | * from 18 to 24 dB in 6 dB steps | 963 | * from -18 to 24 dB in 6 dB steps |
964 | */ | 964 | */ |
965 | static DECLARE_TLV_DB_SCALE(afm_amp_tlv, 1800, 600, 0); | 965 | static DECLARE_TLV_DB_SCALE(afm_amp_tlv, -1800, 600, 0); |
966 | 966 | ||
967 | /* | 967 | /* |
968 | * HSGAIN volume control: | 968 | * HSGAIN volume control: |
@@ -1049,7 +1049,7 @@ static const struct snd_kcontrol_new twl6040_snd_controls[] = { | |||
1049 | 1049 | ||
1050 | /* AFM gains */ | 1050 | /* AFM gains */ |
1051 | SOC_DOUBLE_TLV("Aux FM Volume", | 1051 | SOC_DOUBLE_TLV("Aux FM Volume", |
1052 | TWL6040_REG_LINEGAIN, 0, 4, 0xF, 0, afm_amp_tlv), | 1052 | TWL6040_REG_LINEGAIN, 0, 3, 7, 0, afm_amp_tlv), |
1053 | 1053 | ||
1054 | /* Playback gains */ | 1054 | /* Playback gains */ |
1055 | SOC_TWL6040_DOUBLE_TLV("Headset Playback Volume", | 1055 | SOC_TWL6040_DOUBLE_TLV("Headset Playback Volume", |