aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-08 15:57:59 +0200
committerTakashi Iwai <tiwai@suse.de>2009-05-08 15:57:59 +0200
commita9fd4f3fcdc7e5757424f7e5888f660cf34bb1a9 (patch)
tree929dcb7e5a0ffdaaadf94fced6690fa8f145824a /sound/pci/hda/patch_sigmatel.c
parentb72519b518211ecb7c4c7b5e660ac6235ca7d1b7 (diff)
ALSA: hda - Clean up Realtek auto-mute unsol routines
Most of unsol handlers defined in patch_realtek.c can be classified to two types, mute via amp of pins and mute via ctl bits of pins. Thus there are a big room to generalize each implementation. This patch creates two generic functions, alc_automute_amp() and alc_automute_pin(). The latter is actually changed from the previous alc_sku_automute(). Each caller needs to initialize hp_pins and speaker_pins properly at own init_hook. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
0 files changed, 0 insertions, 0 deletions