OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:06:04 +0000 (11:06 -0800)
commit3fe10cf8e23ed6e32c09c05303df7e66abdb7e39
tree6fd7468bb5d3ed9b5442b5abbfcff33a43f20ad2
parent99067d691614385f824b42f9a02da9708e66dbb6
ALSA: HDA: Fix duplicated output to more than one codec

commit 54c2a89f60fd71b924d0f848ac892442951401a6 upstream.

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.

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