projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039c544
)
ASoC: Fix dB scales for WM835x
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 25 May 2010 17:46:05 +0000
(10:46 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 5 Jul 2010 18:10:53 +0000
(11:10 -0700)
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>
sound/soc/codecs/wm8350.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8350.c
b/sound/soc/codecs/wm8350.c
index 2089fe7d1ba64523f2962410604fbaae38958575..9f9bcd839cba78805318bf89fa499bf9a1abd982 100644
(file)
--- a/
sound/soc/codecs/wm8350.c
+++ b/
sound/soc/codecs/wm8350.c
@@
-423,8
+423,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, 60
0);
+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);