]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda - Combine snd_hda_codec_flush_*_cache() to a single function
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2013 14:24:30 +0000 (15:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2013 14:25:25 +0000 (15:25 +0100)
commitdc870f38e9faf7dd89355aae2252126688a1a372
treedf231e38831d3f38ddeba4148934a7b0c047614a
parenta836dbf685fa58c7db6cd56ad4559b2e6c02c8d9
ALSA: hda - Combine snd_hda_codec_flush_*_cache() to a single function

Since both snd_hda_codec_flush_amp_cache() and
snd_hda_codec_flush_cmd_cache() are called usually at the same time,
we can simply combine them to a single function,
snd_hda_codec_flush_cache().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_realtek.c