ALSA: hda - Enable surround speakers (when line out is also present)
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 10 Oct 2013 07:01:25 +0000 (09:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Oct 2013 07:47:58 +0000 (09:47 +0200)
commitcd4035e814b04c009ece9939396d06370c53ed44
tree88f9dbeb03e00ba589cf5f204c6b39b4dc2b6ab8
parent6b5a7c66ce396242e504dbf3d9d5c06d8b1aa488
ALSA: hda - Enable surround speakers (when line out is also present)

In the case where we have both line out and more than stereo speakers,
the speaker DACs will end up in extra_out_nid.
In fact, AFAIU, speakers are the only ones that can end up in extra_out_nid,
and if we have several of those, they should be surround outputs
rather than copy front.

BugLink: https://bugs.launchpad.net/bugs/1236965
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c