• Takashi Iwai's avatar
    ALSA: hda: Keep PM disablement for deny-listed instance · 8abe0423
    Takashi Iwai authored
    We have a runtime PM deny-list for the devices that show the problems
    (typically click noises) at runtime suspend/resume, and when it
    matches, the driver disables the default runtime PM.  However, we
    still allow the runtime PM changed via power_save module option
    dynamically, and the desktop system often tweaks it.  This ended up
    with a re-enablement of the runtime PM that surprises users, suddenly
    suffering from the noises.
    
    This patch changes the driver behavior slightly: when the device is
    listed in the deny-list, ignore the power_save option change and keep
    the original (that is, off) runtime PM state.
    
    Link: https://patch.msgid.link/20240729141519.18398-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    8abe0423
hda_intel.c 81.5 KB