• Mengdong Lin's avatar
    ALSA: hda - suspend codecs in parallel · 0e24dbb7
    Mengdong Lin authored
    The time to suspend a single codec may be several hundreds of ms. When runtime
    power saving is disabled, driver suspend time can be long especially when there
    are more than one codec on the bus.
    
    To reduce driver suspend time, this patch creates a work queue for the bus, and
    suspends the codecs in parallel if there are multiple codecs on the bus.
    
    [fixed cosmetic issues by tiwai]
    Signed-off-by: default avatarMengdong Lin <mengdong.lin@intel.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    0e24dbb7
hda_codec.c 153 KB