ASoC: Intel: Skylake: Move up pipe mem free
authorVinod Koul <vinod.koul@intel.com>
Mon, 23 Nov 2015 16:56:29 +0000 (22:26 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2015 17:55:46 +0000 (17:55 +0000)
commit65976878ca692566ed066f4fa977de517f697c59
tree02e70e9b4b5676f5099e5250b828ff8bebcdf200
parent2434caf098588856d1c332d2f60b8a2d8a198450
ASoC: Intel: Skylake: Move up pipe mem free

The MCPS is freed first thing in pmd events but non memory. So if
we face error during teardown we leak this mem, so move the code
up

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