ALSA: hda - Avoid unnecessary verbs write in snd_hda_activate_path()
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jan 2014 15:26:16 +0000 (16:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jan 2014 11:39:11 +0000 (12:39 +0100)
commit8f0972dfa9b7378aaf14eebf2454abd93a6033ad
treea4cba525493c57bb40143fb1a2d64a254188ab60
parenta2dd933d01fb947915b1323d4db0d8e5c84f4dc3
ALSA: hda - Avoid unnecessary verbs write in snd_hda_activate_path()

... by using snd_Hda_codec_update_cache() instead of *_write_cache().
Since all path elements should have been updated by this function,
we are safe to assume that the cache contents are consistent.

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