ASoC: Intel: Skylake: Disable clock and power gating during FW/LIB download
authorSanyog Kale <sanyog.r.kale@intel.com>
Tue, 13 Mar 2018 03:32:25 +0000 (09:02 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 13 Mar 2018 16:29:14 +0000 (09:29 -0700)
commitfc9fdd61c4809b14faa9b84fe3d8f4167a836326
tree3b8c4b6397fc855bbf420b2785393865c0b65c0f
parentc22969d70fc9253112e88da55116e04074cdeac4
ASoC: Intel: Skylake: Disable clock and power gating during FW/LIB download

In order to achieve better DMA performance and reduce download time for
firmware and library, it is recommended to disable dynamic clock and
power gating. In some scenarios, DMA may wait to accumulate more data and
last chunk of data never gets completed if dynamic clock and power
gating is kept enabled.

This patch adds support to disable/enable dynamic clock and power gating
and use it during firmware and library download.

Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c
sound/soc/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl-sst-ipc.h
sound/soc/intel/skylake/skl.c
sound/soc/intel/skylake/skl.h