]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19fb029cde04d1aa8feac4f99e048e80fdb3918e
treed98730dbb8b377d94944a99560d28c7789620699
parentccbdd26d1448c555bad428ca3175bb6cf5e891b1
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