ALSA: hda - No 'Headphone as Line-out' swich without line-outs
authorTakashi Iwai <tiwai@suse.de>
Mon, 24 Nov 2008 06:51:11 +0000 (07:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 13 Dec 2008 23:29:29 +0000 (15:29 -0800)
commite47433f59a45c7e5d3ab54d8d7eabb91aa202da7
treef6097b783aaf8a788803bdf27bc8e5aa2c8c0ed3
parentc7b7f1613bcfdd8e6ccaeea8a57daf9a3a122fc2
ALSA: hda - No 'Headphone as Line-out' swich without line-outs

commit 95026623da32848bc93fbfb472dc8737487df450 upstream

STAC/IDT driver creates "Headphone as Line-Out" switch even if there
is no line-out pins on the machine.  For devices only with headpohnes
and speaker-outs, this switch shouldn't be created.

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