ALSA: hda - Cache pin-cap values
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2009 12:07:47 +0000 (13:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2009 12:08:33 +0000 (13:08 +0100)
commit1327a32b878b5ed2113c63557b6f4f949f821857
tree25b47d63e8cc68840134120fc49e4fa499f54569
parent52ca15b7c0c711eb37f5e4b769e8488e5c516d43
ALSA: hda - Cache pin-cap values

Added snd_hda_query_pin_caps() to read and cache pin-cap values
to avoid too frequently issuing the same verbs.

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