]> git.karo-electronics.de Git - linux-beck.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)
commit033ea349a7cd1aa15357cd6575de35188fc85b9a
tree2db531a3fccf7e7ea38c0638af176964c4e9a5d3
parent0420694dddeb9e269a1ab2129a0119a5cea294a4
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