ALSA: hda - VIA: Fix codec type for VT1708BCE at the right timing
authorLydia Wang <lydiawang@viatech.com.cn>
Tue, 22 Mar 2011 08:25:03 +0000 (16:25 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Mar 2011 18:35:38 +0000 (11:35 -0700)
commitac66c28dc30d7778b80110552fd5cd82b7bd21d6
treea5f573ea085a7d0accc115df628f5fa2bfaebeba
parent9621c276448508db8e3f218872c2dcd6c053210b
ALSA: hda - VIA: Fix codec type for VT1708BCE at the right timing

commit 0341ccd7557fecafe6a79c55158670cf629d269e upstream.

Add get_codec_type() in via_new_spec() function to make sure getting
correct codec type before building mixer controls.

Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_via.c