[ALSA] hda-codec - introduce command register cache
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 Aug 2007 15:03:40 +0000 (17:03 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:41 +0000 (15:58 +0200)
commitb3ac56364126f78cae94eb2a75b72d9ea85aca9d
tree8f4865f1f888d612697452ab280922440e67e24f
parent01751f54ff23b9d59e07f9c9ef189d4733525463
[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>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_local.h