]> asedeno.scripts.mit.edu Git - linux.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)
commit7e90f9b2b56669260e5f6f97974735d187f79b7d
tree1d9ca0e9b9b9f495c869bad8636d1eef9e7863ba
parent3758ff5f3dab57cd768d54279962a2f6bbc17188
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