ALSA: HDA: Fix duplicated output to more than one codec
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 1 Feb 2012 11:05:41 +0000 (12:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Feb 2012 11:13:16 +0000 (12:13 +0100)
commit54c2a89f60fd71b924d0f848ac892442951401a6
treedde1139d2618014edd81edccd743a6584ca31446
parentf70eecde3bca92630d3886496e73316ff353f185
ALSA: HDA: Fix duplicated output to more than one codec

This typo caused the wrong codec's nid to be checked for wcaps type.
As a result, sometimes speakers would duplicate the output sent to
HDMI output.

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