[ALSA] hda-codec - Add workaround for multiple HPs
authorJiang Zhe <zhe.jiang@intel.com>
Mon, 12 Nov 2007 11:57:03 +0000 (12:57 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:21 +0000 (17:29 +0100)
commitbcecd9bd96a5ba598e4b671a55f05b32284987da
tree105b5ba6f7bfbd23615520c638d688b2840b14b4
parent7f9310c1c98abfd85d070f9122695901531e48a4
[ALSA] hda-codec - Add workaround for multiple HPs

Dell laptops have multiple HP jacks that can be used for multi-channel
outputs.  The current auto pincfg handles the speaker as the primary
output and thus cannot handle the multi-channel configuration for such
cases.  This patch adds a workaround to fix this issue by swapping the
HP and speaker during multi-channel setup routines.

Signed-off-by: Jiang Zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/patch_sigmatel.c