]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix Skylake codec timeout
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 16 Jul 2015 08:39:24 +0000 (10:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Jul 2015 07:33:24 +0000 (09:33 +0200)
commitc92cb1a6278945e9eb9235c5bfbaf167eac5a7ea
tree2db531a3fccf7e7ea38c0638af176964c4e9a5d3
parent738f9256c9b610461efe988be7d19f8a8593c11c
ALSA: hda - Fix Skylake codec timeout

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: David Henningsson <david.henningsson@canonical.com>
Reviewed-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_i915.c
sound/pci/hda/hda_intel.c