]> git.baikalelectronics.ru Git - 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)
commitcfb47cffaa311c16fe01ce1e74682f82a13fd34b
tree833c0a8964f6939c95c14f393439ca9cac7185c2
parent3e440b1f1d3934ca43407909d1ec0a4e889fbf8f
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