[alsa-devel] SGTL5000: fix max Mic Volume in SGTL5000_CHIP_MIC_CTRL

Simon Brenner simon.brenner at mobotix.com
Thu Jul 19 16:00:54 CEST 2012


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.


More information about the Alsa-devel mailing list