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:
fef9516
)
ASoC: ak4642: fixup: mute needs +1 step
author
Kuninori Morimoto
<
[email protected]
>
Thu, 5 Apr 2012 06:28:01 +0000
(23:28 -0700)
committer
Mark Brown
<
[email protected]
>
Thu, 5 Apr 2012 10:08:45 +0000
(11:08 +0100)
ak4642 out_tlv is +12.0dB to -115.0 dB, and it supports mute.
But current settings didn't care +1 step for mute.
This patch adds it
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/ak4642.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ak4642.c
b/sound/soc/codecs/ak4642.c
index f8e10ced244a6d4f36b6ab964bf39f54579da91e..b3e24f289421a7fda3dda11043039179c4777535 100644
(file)
--- a/
sound/soc/codecs/ak4642.c
+++ b/
sound/soc/codecs/ak4642.c
@@
-140,7
+140,7
@@
* min : 0xFE : -115.0 dB
* mute: 0xFF
*/
-static const DECLARE_TLV_DB_SCALE(out_tlv, -115
0
0, 50, 1);
+static const DECLARE_TLV_DB_SCALE(out_tlv, -115
5
0, 50, 1);
static const struct snd_kcontrol_new ak4642_snd_controls[] = {