Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a68d5a54 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent ad35879a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment