ALSA: hda - Avoid invalid "Independent HP" control for VIA codecs
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Apr 2010 12:36:23 +0000 (14:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Apr 2010 12:36:23 +0000 (14:36 +0200)
commit3d83e577a8206f0f3822a3840e12f76477142ba2
treed98730dbb8b377d94944a99560d28c7789620699
parentb331439dfd41dc813b3557ca5927a3a644f35792
ALSA: hda - Avoid invalid "Independent HP" control for VIA codecs

Some VIA codecs have no multiple source selection for headphone pins,
thus it's useless (and wrong) to create "Independent HP" control on them.

This patch adds the check of connections to skip the control in such a
case.

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