]> 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)
commit88d8a9a2d08e12cb58f4c706a7bc3e6c2b232f82
tree833c0a8964f6939c95c14f393439ca9cac7185c2
parentcd4eaf8c5f467b99656b1dd631c78154ba11ab5c
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