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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Mar 2011 11:54:32 +0000 (12:54 +0100)
commit0341ccd7557fecafe6a79c55158670cf629d269e
tree820b83898a768ad99da8e2b8e07ab288324e8aac
parent169222813eec8403c76394fb7b35ecab98e3c607
ALSA: hda - VIA: Fix codec type for VT1708BCE at the right timing

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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c