From: Takashi Iwai Date: Tue, 30 Mar 2010 16:03:44 +0000 (+0200) Subject: ALSA: hda - introduce snd_hda_codec_update_cache() X-Git-Tag: v2.6.35-rc1~478^2~1^2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a68d5a5419d2a15161488b20f740115068e7b666;p=pandora-kernel.git ALSA: hda - introduce snd_hda_codec_update_cache() Add a new helper, snd_hda_codec_update_cache(), for reducing the unneeded verbs. This function checks the cached value and skips if it's identical with the given one. Otherwise it works like snd_hda_codec_write_cache(). The alc269 code uses this function as an example. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed