ALSA: hda - Fix duplicated DAC assignments for Realtek
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Jul 2011 14:41:57 +0000 (16:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Jul 2011 14:44:40 +0000 (16:44 +0200)
commitc48a8fb0d31d6147d8d76b8e2ad7f51a2fbb5c4d
tree4afd898435facd1ca0fbba933c0a563d4bbf810a
parentae6ff61e43fe4f348a7f764ff0c13fb4240da7b8
ALSA: hda - Fix duplicated DAC assignments for Realtek

Copying hp_pins and speaker_pins from line_out_pins may confuse the
parser, and it can lead to duplicated initializations for the same pin
with a wrong DAC assignment.  The problem appears in 3.0 kernel code.

Cc: <stable@kernel.org> (for 3.0)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c