OSDN Git Service

ASoC: Intel: Skylake: Reset DSP pipe in skl_pcm_hw_free
authorDivya Prakash <divya1.prakash@intel.com>
Mon, 2 Apr 2018 06:45:49 +0000 (12:15 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 17 Apr 2018 10:35:08 +0000 (11:35 +0100)
commit179c2e86328c3d7e07f87f9c45a216cda626e9ee
tree5dbe7f3962b75620693e8821b6414ed8a1350eed
parentb999a19b3324ae3538bc13d11210bdfc8016616a
ASoC: Intel: Skylake: Reset DSP pipe in skl_pcm_hw_free

Currently during destroy pipeline the gateway is disabled
before DMA completion. This leads to improper draining of
data and subsequently causing issues on HD-Audio DMA.
Hence added a new pipe reset IPC in skl_pcm_hw_free in
which the Gateway Enable(GEN bit) is reset to 0 after
DMA completion in skl_pcm_trigger.

Signed-off-by: Divya Prakash <divya1.prakash@intel.com>
Signed-off-by: Sriram Periyasamy <sriramx.periyasamy@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c