ALSA: hda - Enable line-out detection only with speakers
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Aug 2009 06:23:24 +0000 (08:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Aug 2009 06:27:38 +0000 (08:27 +0200)
commit1c4bdf9be010ae7c2324c0a90dd2296e0d1a775e
tree3551faedf433d7b0425ba8a8202a9053772fef9f
parent5908589f318835f515bf94829650d36dcb2d9024
ALSA: hda - Enable line-out detection only with speakers

Enable line-out detection for IDT/STAC codecs only when speaker pins
exist.  In some cases, the speaker itself is identified as line-out,
and this confuses the situation.  Only the extra line-outs should do
auto-muting.

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