[alsa-devel] SGTL5000: fix max Mic Volume in SGTL5000_CHIP_MIC_CTRL
![](https://secure.gravatar.com/avatar/3b7ca75e2c1370cf9a405359c0a36b84.jpg?s=120&d=mm&r=g)
19 Jul
2012
19 Jul
'12
4 p.m.
Hi all,
I have noticed a wrong value for the "max" field of the macro SOC_SINGLE_TLV() in the Linux kernel file <kernel_root>/sound/soc/codecs/sgtl5000.c (approx. line 402, sgtl5000_snd_controls[]):
SOC_SINGLE_TLV("Mic Volume", SGTL5000_CHIP_MIC_CTRL, 0, 4, 0, mic_gain_tlv)
The value "4" should be a "3" (see datasheet "Low Power Stereo Codec with Headphone Amp" by Freescale, page 40).
Regards, -Simon.
4586
Age (days ago)
4586
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Brenner