• T
    [ALSA] hda-codec - optimize resume using caches · 82beb8fd
    Takashi Iwai 提交于
    So far, the driver looked the table of snd_kcontrol_new used for creating
    mixer elements and forces to call each of its put callbacks in PM resume
    code.  This is too ugly and hackish.
    Now, the resume is simplified using the codec amp and command register
    caches.  The driver simply restores the values that have been written
    in the cache table.  With this simplification, most codec support codes
    don't require any special resume callback.
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    Signed-off-by: NJaroslav Kysela <perex@suse.cz>
    82beb8fd
patch_atihdmi.c 4.2 KB