diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-23 13:07:47 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-23 13:08:33 +0100 |
commit | 1327a32b878b5ed2113c63557b6f4f949f821857 (patch) | |
tree | 25b47d63e8cc68840134120fc49e4fa499f54569 /sound/pci/hda/hda_local.h | |
parent | ALSA: hda - Avoid output amp manipulation to digital mic pins (diff) | |
download | linux-1327a32b878b5ed2113c63557b6f4f949f821857.tar.xz linux-1327a32b878b5ed2113c63557b6f4f949f821857.zip |
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>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 27428c718fd7..83349013b4df 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -411,6 +411,7 @@ static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction); int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps); +u32 snd_hda_query_pin_caps(struct hda_codec *codec, hda_nid_t nid); int snd_hda_ctl_add(struct hda_codec *codec, struct snd_kcontrol *kctl); void snd_hda_ctls_clear(struct hda_codec *codec); |