diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-20 11:41:54 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:33:59 +0100 |
commit | 0c3d47b007dcc0ec7c26a1a654a281076f2f8545 (patch) | |
tree | 0c703afe98347ac86f31806534d5485b78e4fbdf /sound/pci/hda/patch_realtek.c | |
parent | c4f3ebed3c5bc59c88eb2ccda825a12686b58341 (diff) |
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/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index caf6fa5e6a70..a6547570c854 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -634,7 +634,7 @@ static void alc_inv_dmic_sync_adc(struct hda_codec *codec, int adc_idx) (dir == HDA_OUTPUT ? AC_AMP_SET_OUTPUT : AC_AMP_SET_INPUT); /* flush all cached amps at first */ - snd_hda_codec_resume_amp(codec); + snd_hda_codec_flush_amp_cache(codec); /* we care only right channel */ val = snd_hda_codec_amp_read(codec, nid, 1, dir, 0); |