]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48bd15643b437660155ceb5cbd4f4eb8e00340bc
treedf231e38831d3f38ddeba4148934a7b0c047614a
parentb05fb9a9f18aeda1a160a1726a000410bf02a696
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