diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-08-10 17:03:40 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 15:58:41 +0200 |
commit | b3ac56364126f78cae94eb2a75b72d9ea85aca9d (patch) | |
tree | 8f4865f1f888d612697452ab280922440e67e24f /sound/pci/hda/hda_local.h | |
parent | 01751f54ff23b9d59e07f9c9ef189d4733525463 (diff) | |
download | op-kernel-dev-b3ac56364126f78cae94eb2a75b72d9ea85aca9d.zip op-kernel-dev-b3ac56364126f78cae94eb2a75b72d9ea85aca9d.tar.gz |
[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.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 fafcffe..5120897 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, int direction, int index); int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int mask, int val); +void snd_hda_codec_resume_amp(struct hda_codec *codec); /* mono switch binding multiple inputs */ #define HDA_BIND_MUTE_MONO(xname, nid, channel, indices, direction) \ |