CHROMIUM: ALSA: hda/ca0132: Turning on headphone amp 250ms after it is detected.
authorChih-Chung Chang <chihchung@chromium.org>
Fri, 28 Sep 2012 10:02:00 +0000 (18:02 +0800)
committerGerrit <chrome-bot@google.com>
Wed, 3 Oct 2012 14:33:20 +0000 (07:33 -0700)
commitd57951fa3453dfeae49ecaae41cf9b7f67793f90
tree5baaac7b68bb461900fca8974543579ae5223326
parenta44fc7ff45e371865c17ffc609fbbed82cfd6f26
CHROMIUM: ALSA: hda/ca0132: Turning on headphone amp 250ms after it is detected.

Turing on headphone amp interferes with the detection of mic sense, so we want
to do it later.

Also restore the BIOS default configuration setting because it will be reset
after ct extension is enabled.

BUG=chrome-os-partner:14154
TEST=use alsamixer -c 0 to verify the setting are changed when headphone is
plugged/unplugged.

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