ALSA: hda - Set function_id only on FG nodes
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Apr 2009 16:04:41 +0000 (18:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Apr 2009 16:04:41 +0000 (18:04 +0200)
commit93e82ae781e1ca4797cf2a226d3c303975bd99c7
treeaff94e83114b5644b0b0abfe1c3880c4fa59b4a7
parent4dc1f87f079d5c6b01284d08b28eff2c4fbd15c4
ALSA: hda - Set function_id only on FG nodes

(Re)set function_id only from the value on FG nodes.
The current code overrides the value with the last widget.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c