]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8960: correct gain value for input PGA and add microphone PGA
authorZidan Wang <zidan.wang@freescale.com>
Wed, 9 Sep 2015 11:29:11 +0000 (19:29 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 11 Sep 2015 12:39:15 +0000 (13:39 +0100)
commita2fb7cd5ec314c7f1a5146d116d126f752df2d01
tree1d9ca0e9b9b9f495c869bad8636d1eef9e7863ba
parent1820301f0c8360e3176f877fb668d8d800892256
ASoC: wm8960: correct gain value for input PGA and add microphone PGA

The input PGAs have a gain range from -17.25dB to +30dB in 0.75dB steps.

The boost stage can provide additional gain. For line inputs, -12dB to
+6dB gain is available on the boost mixer. For micphone inputs, it can
provide up to +29dB additional gain from the microphone PGA.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8960.c