ALSA: hda - Clean up init and setup hooks for Realtek codecs
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Aug 2009 16:17:46 +0000 (18:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Aug 2009 16:17:46 +0000 (18:17 +0200)
commit4f5d17062085ee1c74ff44a37ffb09f94ab4db1c
tree17164d916d3b5644ce430d8213ffeb0aa65a54fd
parente9c364c04f59f7fb250f9689198eaa59872cf8af
ALSA: hda - Clean up init and setup hooks for Realtek codecs

Move static codes to setup from init_hook for each model.

Also, use the common auto-mic selection helper for devices that support
auto-mic selection.  They just need to set up ext_mic, int_mic and
auto_mic flag in the setup section.

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