CHROMIUM: ALSA: hda/ca0132 - configure DMIC gain block.
authorChee Kin Cheong <chee_kin@ctl.creative.com>
Wed, 23 Jan 2013 12:44:28 +0000 (04:44 -0800)
committerChromeBot <chrome-bot@google.com>
Thu, 24 Jan 2013 20:55:53 +0000 (12:55 -0800)
commitf750359e101d20f00cf1504f75d1df3c2d9b28d0
treec46b3789f3501c53e0590c96385e7c06fdadc15c
parent74faabcef219d8ff3e6c1e706d533e533023ac38
CHROMIUM: ALSA: hda/ca0132 - configure DMIC gain block.

Configure the DMIC input gain block when switching to use DMIC.  This
provides 20dB of additional input gain when using the built-in digital
microphone.

This should be changed to export a control to user-space, but keep it
simple for the R25 release.

BUG=chrome-os-partner:16865
TEST=arecord a reference signal and check that there is now 20dB of
gain applied.  Hangout and check that the participant on the other
side can hear you.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Change-Id: I2a748f5774e50e513b1107fc3119641aa227453b
Reviewed-on: https://gerrit.chromium.org/gerrit/41816
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
sound/pci/hda/patch_ca0132.c