summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai2012-12-20 11:41:54 +0100
committerTakashi Iwai2013-01-12 08:33:59 +0100
commit0c3d47b007dcc0ec7c26a1a654a281076f2f8545 (patch)
tree0c703afe98347ac86f31806534d5485b78e4fbdf /sound/pci/hda/hda_codec.h
parentALSA: hda - Flush dirty amp caches before writing inv_dmic fix (diff)
downloadkernel-qcow2-linux-0c3d47b007dcc0ec7c26a1a654a281076f2f8545.tar.gz
kernel-qcow2-linux-0c3d47b007dcc0ec7c26a1a654a281076f2f8545.tar.xz
kernel-qcow2-linux-0c3d47b007dcc0ec7c26a1a654a281076f2f8545.zip
ALSA: hda - Add snd_hda_codec_flush_*_cache() aliases
It makes easier to understand although these are identical with snd_hda_codec_resume_*() functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index a1cb28ff3968..2d9a51cb4a8e 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -970,6 +970,10 @@ int snd_hda_codec_update_cache(struct hda_codec *codec, hda_nid_t nid,
int direct, unsigned int verb, unsigned int parm);
void snd_hda_codec_resume_cache(struct hda_codec *codec);
+/* it's alias but a bit clearer meaning */
+#define snd_hda_codec_flush_cmd_cache(codec) \
+ snd_hda_codec_resume_cache(codec)
+
/* the struct for codec->pin_configs */
struct hda_pincfg {
hda_nid_t nid;