• David Henningsson's avatar
    ALSA: hda - Fix Skylake codec timeout · 033ea349
    David Henningsson authored
    When the controller is powered up but the HDMI codec is powered down
    on Skylake, the power well is turned off. When the codec is then
    powered up again, we need to poke the codec a little extra to make
    sure it wakes up. Otherwise we'll get sad "no response from codec"
    messages and broken audio.
    
    This also changes azx_runtime_resume to actually call
    snd_hdac_set_codec_wakeup for Skylake (before STATETS read).
    (Otherwise it would only have been called for Haswell and Broadwell,
    which both do not need it, so this probably was not the author's
    intention.)
    Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
    Reviewed-by: default avatarLibin Yang <libin.yang@intel.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    033ea349
hda_intel.c 63.1 KB