ALSA: hda/conexant - Re-implement OLPC XO workarounds via fixup
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jan 2014 15:28:02 +0000 (16:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jan 2014 11:39:12 +0000 (12:39 +0100)
commit3a00c6605b7709f6c30437efceda3f439bc5ddc2
treeac5006d89f43d005eb8089467348e094d54fc6c0
parent8f0972dfa9b7378aaf14eebf2454abd93a6033ad
ALSA: hda/conexant - Re-implement OLPC XO workarounds via fixup

OLPC XO needs a few special handling.  Now these are implemented as a
fixup to the generic parser.

Obviously, the DC BIAS mode had to be added manually.  This is mainly
implemented in the mic_autoswitch hook, where the mic pins are
overwritten depending on the DC bias mode.  This also required the
override of the mic boost control, since the mic boost is applied only
when the DC mode is disabled.

In addition, the mic pins must be set dynamically at recording time
because these also control the LED.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c