aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-10 11:03:40 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 09:58:41 -0400
commitb3ac56364126f78cae94eb2a75b72d9ea85aca9d (patch)
tree8f4865f1f888d612697452ab280922440e67e24f /sound/pci/hda/hda_local.h
parent01751f54ff23b9d59e07f9c9ef189d4733525463 (diff)
[ALSA] hda-codec - introduce command register cache
This patch adds the cache for codec command registers. snd_hda_codec_write_cache() and snd_hda_sequence_write_cache() do the write operations with caching, which values can be resumed via snd_hda_codec_resume_cache(). The patch introduces only the framework, and no codec code is using this cache yet. It'll be implemented in the following patch. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index fafcffe6fc79..51208974c2da 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -84,6 +84,7 @@ int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch,
84 int direction, int index); 84 int direction, int index);
85int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, 85int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch,
86 int direction, int idx, int mask, int val); 86 int direction, int idx, int mask, int val);
87void snd_hda_codec_resume_amp(struct hda_codec *codec);
87 88
88/* mono switch binding multiple inputs */ 89/* mono switch binding multiple inputs */
89#define HDA_BIND_MUTE_MONO(xname, nid, channel, indices, direction) \ 90#define HDA_BIND_MUTE_MONO(xname, nid, channel, indices, direction) \