]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix PCM reference NID for STAC/IDT analog outputs
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2009 10:55:42 +0000 (11:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Feb 2009 17:53:27 +0000 (09:53 -0800)
commit4c007128d561afb90562578f35f52577acf3ebf1
tree60494294515014a5b81c48f8fe16768bcae5099b
parenta691480b213ef8d6a7c2f3edfd3f81b3ba3714e9
ALSA: hda - Fix PCM reference NID for STAC/IDT analog outputs

commit 00a602db1ce9d61319d6f769dee206ec85f19bda upstream.

The reference NID for the analog outputs of STAC/IDT codecs is set
to a fixed number 0x02.  But this isn't always correct and in many
codecs it points to a non-existing NID.

This patch fixes the initialization of the PCM reference NID taken
from the actually probed DAC list.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_sigmatel.c