ALSA: hda - Add a workaround for invalid line-out setups
authorTakashi Iwai <tiwai@suse.de>
Fri, 24 Jun 2011 08:43:03 +0000 (10:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Jun 2011 08:43:03 +0000 (10:43 +0200)
commit1af7c5f0d48dca385f29610cc62435afc13237cf
tree7f923de5bc6f1e0c099a75888a4719bc2baaa91f
parentf9a09e003f3d6d1450e758f6aeb4a1872d9570e9
ALSA: hda - Add a workaround for invalid line-out setups

Some BIOS set up the pin config wrongly as line-out although it's
supposed to be a speaker out.  In most cases, though, we can judge
the validity by checking the connection type -- when it's FIXED,
mostly it's an invalid line-out but a speaker.

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