ASoC: Intel: Skylake: Avoid freeing up of unallocated memory/mcps
authorDharageswari R <dharageswari.r@intel.com>
Fri, 3 Jun 2016 12:59:38 +0000 (18:29 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jun 2016 13:19:11 +0000 (14:19 +0100)
commit260eb73aa252d0cbdfe11523d5def9d6d00625d4
treef383f0233975a54073d51faa7b51b657cdfaec49
parent51a01b8c2ea632ed9a57f98c234a0cd9dafe181a
ASoC: Intel: Skylake: Avoid freeing up of unallocated memory/mcps

When DSP pipe/module is not initialized successfully, memory/mcps
is not allocated. So check the pipe/module state to avoid freeing
up of unallocated memory/mcps. And allocate resources when pipe/
module is initialized successfully.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c
This page took 0.030191 seconds and 5 git commands to generate.