lkml.org 
[lkml]   [2010]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[115/200] ASoC: Fix dB scales for WM835x
    2.6.34-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Mark Brown <broonie@opensource.wolfsonmicro.com>

    commit e6a08c5a8990102bcd1f4bae84b668da6c23caa9 upstream.

    These should be regular rather than linear scales.

    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
    index e5a48da..c342c2c 100644
    --- a/sound/soc/codecs/wm8350.c
    +++ b/sound/soc/codecs/wm8350.c
    @@ -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);



    \
     
     \ /
      Last update: 2010-07-01 23:47    [W:2.290 / U:0.652 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site