]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: hda - reset display codec when power on
authorLu, Han <han.lu@intel.com>
Tue, 5 May 2015 01:05:48 +0000 (09:05 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 May 2015 12:44:36 +0000 (14:44 +0200)
commit0a67352153505f3ef2cdd155bfcbf7e43186bd82
tree0c06a05b42b20b4c92537e255d0ff1dc849ccb2e
parent632f3ab95fe2ffebf09969a57ab21be409ed7dcc
ALSA: hda - reset display codec when power on

In SKL, HDMI/DP codec and PCH HD Audio Controller are in different power wells,
so it's necessary to reset display audio codecs when power well on, otherwise
display audio codecs will disappear when resume from low power state.
Reset steps when power on:
    enable codec wakeup -> azx_init_chip() -> disable codec wakeup

The callback for codec wakeup enable/disable is in drivers/gpu/drm/i915/.

Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_i915.c
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.h