]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb82c763ddc3111b232492ae95b2f64d32e64c14
tree17164d916d3b5644ce430d8213ffeb0aa65a54fd
parenta27362d0ef67892415c2c13de4870fdfe1e01eb3
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