]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: hda - disable dynamic clock gating on Broxton before reset
authorLibin Yang <libin.yang@linux.intel.com>
Fri, 29 Jan 2016 12:39:09 +0000 (20:39 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jan 2016 13:00:41 +0000 (14:00 +0100)
commit6639484ddaf6707b41082c9fa9ca9af342df6402
tree833c0a8964f6939c95c14f393439ca9cac7185c2
parent3ec622f40913ae036f218e5e7e92df9c1f1753d9
ALSA: hda - disable dynamic clock gating on Broxton before reset

On Broxton, to make sure the reset controller works properly,
MISCBDCGE bit (bit 6) in CGCTL (0x48) of PCI configuration space
need be cleared before reset and set back to 1 after reset.
Otherwise, it may prevent the CORB/RIRB logic from being reset.

Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c