]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Avoid multi-ios conflicting with multi-speakers
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Jan 2012 10:42:55 +0000 (11:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Jan 2012 10:42:55 +0000 (11:42 +0100)
commit8b2ee47368094657996e4d92785f90e278b82ef5
tree5c368e45a5ab0589cb1f13674b1f50baaee775bc
parentacbbc59044faf62bfcd40885cd764e20378c9cbf
ALSA: hda/realtek - Avoid multi-ios conflicting with multi-speakers

When a machine has multiple speakers, we don't need to create the
controls for multi-ios.  Check the number of primary outputs beforehand.

Note that this workaround might not work always with new codecs in
future; this assumes that both speakers and multi-io jacks share the
same mixers/DACs.  If they are routed with different mixers, the
individual mixer controls should be needed.  But, so far, this doesn't
happen with the existing ALC codecs.

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