CHROMIUM: ASoC: max98088 - expose digital mic enable switches.
authorDylan Reid <dgreid@chromium.org>
Fri, 29 Mar 2013 22:42:06 +0000 (15:42 -0700)
committerChromeBot <chrome-bot@google.com>
Sat, 30 Mar 2013 05:37:09 +0000 (22:37 -0700)
commitd197879f1c39d6af4f5f25fd067c959637d8594f
tree4efca17e443f231dbd038f464ee591099ef7e29e
parentf63fdd0a8535b05f6e5e822a7d17cb3860b0cefe
CHROMIUM: ASoC: max98088 - expose digital mic enable switches.

Add a control for enable right and left digital mic.  This control
routes the digital mic input through the ADC.  It must be disabled for
analog input to work.

BUG=chrome-os-partner:18454
TEST=toggle switches, see changes with i2cdump.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Change-Id: I8ed493ce9aea4f94f4feda23172e2e3251e27b51
Reviewed-on: https://gerrit.chromium.org/gerrit/46904
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
sound/soc/codecs/max98088.c