aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-03-03 17:29:47 -0500
committerTakashi Iwai <tiwai@suse.de>2015-03-23 08:19:38 -0400
commit9ba17b4d132f56a680fa1ba0bc2a8f98b6263d93 (patch)
treebc30e4c61923f45eab27f9fc0f5d96d4c5132554 /include/sound
parent01ed3c06c6d5e7e861650ae76117dd4194d87316 (diff)
ALSA: hda - Implement uncached version of parameter reads
Sometimes we need the uncached reads, e.g. for refreshing the tree. This patch provides the helper function for that and uses it for refreshing widgets, reading subtrees and the whole proc reads. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/hdaudio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h
index ddfcc44970fa..65ea6429f3a7 100644
--- a/include/sound/hdaudio.h
+++ b/include/sound/hdaudio.h
@@ -107,6 +107,8 @@ int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid,
107 unsigned int verb, unsigned int parm, unsigned int *res); 107 unsigned int verb, unsigned int parm, unsigned int *res);
108int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, 108int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm,
109 unsigned int *res); 109 unsigned int *res);
110int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid,
111 int parm);
110int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, 112int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid,
111 hda_nid_t *conn_list, int max_conns); 113 hda_nid_t *conn_list, int max_conns);
112int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, 114int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid,