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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2016 20:30:58 +0000 (12:30 -0800)
commitfc3e5563763429755a652b365b04c3cca562b92b
tree061c389bb0cbacee45084e36d2e76ea452ef68f6
parent9f080d37c73948b187698c368cc87b191afd269a
ALSA: hda - disable dynamic clock gating on Broxton before reset

commit 6639484ddaf6707b41082c9fa9ca9af342df6402 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_intel.c