]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Intel: Skylake: Fix to delete DSP pipe after stopping pipe
authorJeeja KP <jeeja.kp@intel.com>
Mon, 13 Mar 2017 16:41:23 +0000 (22:11 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 17:27:44 +0000 (17:27 +0000)
commit6914968b8203aef72edf936319c4d46c6d46401b
tree329eebb4bad2359cdef1f8f208bd8f6536e0bc1e
parenta9b6567d03196dc73ace1c34925c7496fb194447
ASoC: Intel: Skylake: Fix to delete DSP pipe after stopping pipe

DSP pipe needs to stopped before deleting the pipe. Currently check is
for pipe state > STARTED, which is incorrect. So changed to include
pipe state STARTED to stop the pipe if it started.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c