]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3cf1ed466eaf538854b0bec81a64c7e380a5c29
treeff5579134b32dc33053b113adcf8e9bbdf8bf518
parent8f0459cc9bd7f954da5466556cc9568fbbda9d74
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