projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a62ffc9
)
ASoC: sn95031: fix the amic tlv scale
author
Vinod Koul
<
[email protected]
>
Tue, 15 Feb 2011 12:58:53 +0000
(18:28 +0530)
committer
Mark Brown
<
[email protected]
>
Wed, 16 Feb 2011 01:58:54 +0000
(17:58 -0800)
The tlv scale is defined as (min, step, mute). The mute is not supported here so
put the value to 0
Signed-off-by: Vinod Koul <
[email protected]
>
Signed-off-by: Harsha Priya <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/sn95031.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/sn95031.c
b/sound/soc/codecs/sn95031.c
index 5eb39c7ed96797f20e1db1acde450e11c3a00881..2a30eae1881ce66125ff3ceb581b21e630bf0cc8 100644
(file)
--- a/
sound/soc/codecs/sn95031.c
+++ b/
sound/soc/codecs/sn95031.c
@@
-359,7
+359,7
@@
static const struct snd_kcontrol_new sn95031_input4_mux_control =
static const char *sn95031_micmode_text[] = {"Single Ended", "Differential"};
/* 0dB to 30dB in 10dB steps */
-static const DECLARE_TLV_DB_SCALE(mic_tlv, 0, 10,
3
0);
+static const DECLARE_TLV_DB_SCALE(mic_tlv, 0, 10, 0);
static const struct soc_enum sn95031_micmode1_enum =
SOC_ENUM_SINGLE(SN95031_MICAMP1, 1, 2, sn95031_micmode_text);