mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
ASoC: Fix dB scales for WM835x
commit e6a08c5a89 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f924225ca4
commit
19c83a4c2b
@@ -424,8 +424,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);
|
||||
|
||||
Reference in New Issue
Block a user