]> Git Repo - linux.git/commitdiff
ASoC: Fix dB scales for WM835x
authorMark Brown <[email protected]>
Tue, 25 May 2010 17:46:05 +0000 (10:46 -0700)
committerMark Brown <[email protected]>
Wed, 26 May 2010 15:46:51 +0000 (08:46 -0700)
These should be regular rather than linear scales.

Signed-off-by: Mark Brown <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Cc: [email protected]
sound/soc/codecs/wm8350.c

index e5a48da65f824a3c333c493a8cab0dc9509c0df0..c342c2c9fb491b0ecc41cbf7cfd0e7c3f4971bf7 100644 (file)
@@ -425,8 +425,8 @@ static const struct soc_enum wm8350_enum[] = {
        SOC_ENUM_SINGLE(WM8350_INPUT_MIXER_VOLUME, 15, 2, wm8350_lr),
 };
 
-static DECLARE_TLV_DB_LINEAR(pre_amp_tlv, -1200, 3525);
-static DECLARE_TLV_DB_LINEAR(out_pga_tlv, -5700, 600);
+static DECLARE_TLV_DB_SCALE(pre_amp_tlv, -1200, 3525, 0);
+static DECLARE_TLV_DB_SCALE(out_pga_tlv, -5700, 600, 0);
 static DECLARE_TLV_DB_SCALE(dac_pcm_tlv, -7163, 36, 1);
 static DECLARE_TLV_DB_SCALE(adc_pcm_tlv, -12700, 50, 1);
 static DECLARE_TLV_DB_SCALE(out_mix_tlv, -1500, 300, 1);
This page took 0.059445 seconds and 4 git commands to generate.