Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9020808b authored by Olaya, Margarita's avatar Olaya, Margarita Committed by Liam Girdwood
Browse files

ASoC: twl6040: Fix TLV dB step values for gains



Some gains were incorrectly configured for dB values.

Signed-off-by: default avatarMargarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent cbd9cb5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -471,9 +471,9 @@ static DECLARE_TLV_DB_SCALE(mic_preamp_tlv, -600, 600, 0);


/*
/*
 * MICGAIN volume control:
 * MICGAIN volume control:
 * from 6 to 30 dB in 6 dB steps
 * from -6 to 30 dB in 6 dB steps
 */
 */
static DECLARE_TLV_DB_SCALE(mic_amp_tlv, 600, 600, 0);
static DECLARE_TLV_DB_SCALE(mic_amp_tlv, -600, 600, 0);


/*
/*
 * AFMGAIN volume control:
 * AFMGAIN volume control: