Skip to contentSkip to conversation

SGTL5000: fix max Mic Volume in SGTL5000_CHIP_MIC_CTRL

DISCUSSION Simon Brenner 1 participant 1 message Jul 19, 2012

lore
Share & tools
lore
#0 lore raw

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.