]> 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)
commit3b4c572fb51e5a8f626e6aa3cbe635b17ac357bc
tree2db531a3fccf7e7ea38c0638af176964c4e9a5d3
parentaab6a45326e9ba70667f93b2afa3c6ad63d06a95
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