ALSA: hda - Call proper DAC-filler function for Realtek auto-parser
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 09:32:07 +0000 (11:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 09:32:07 +0000 (11:32 +0200)
commitcb053a8265954518d4c9e865d8a0d682405825d2
treeff5579134b32dc33053b113adcf8e9bbdf8bf518
parent1f0f4b8036b1fe1347cb4f1f199601b87de9be46
ALSA: hda - Call proper DAC-filler function for Realtek auto-parser

In alc_auto_add_multi_channel_mode(), when the primary HP workaround
is enabled, it re-initializes the DAC list but calls alc662's function
in a fixed way.  This isn't pretty suitable for other codecs, of course.

Now we call it with fill_dac function pointer so that the proper
function can be called at that point.

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