ALSA: hda - Allow different assoc numbers for multiple speakers
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2011 07:10:29 +0000 (09:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2011 07:10:29 +0000 (09:10 +0200)
commit965f1b2e196924dbe7143e36bf4a2bcdc07fc810
tree999edd6ba796f81e7a57e6a68503b9664a0da4c5
parent23c09b00900c3fa6672148738cad29d6fc6ded7c
ALSA: hda - Allow different assoc numbers for multiple speakers

In snd_hda_parse_pin_def_config(), we checked the associated number
of speaker pins and accepts only one number exclusively.  But many BIOS
seem to give different assoc number for surround speakers, thus we'd
better to accept all speaker pins no matter which assoc number, and sort
like done for the headphone pins.

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