diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-12-18 15:11:58 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-18 17:14:21 +0000 |
commit | d2c7db854ed07548ca7d01118eee67fd6a78a2be (patch) | |
tree | 84d0530e7ef317a7644f0aaebf449c06963e9880 /sound/soc/intel/skylake/skl-messages.c | |
parent | a4386450bf08cd968bf41ff30a92caf74262c9d6 (diff) | |
download | linux-d2c7db854ed07548ca7d01118eee67fd6a78a2be.tar.bz2 |
ASoC: Intel: Skylake: Fix to set pipe state to invalid when deleting
When pipeline is deleted, set the pipeline state to invalid state.
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>
Diffstat (limited to 'sound/soc/intel/skylake/skl-messages.c')
-rw-r--r-- | sound/soc/intel/skylake/skl-messages.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index 46310d9ac008..de6dac496a0d 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c @@ -849,6 +849,8 @@ int skl_delete_pipe(struct skl_sst *ctx, struct skl_pipe *pipe) ret = skl_ipc_delete_pipeline(&ctx->ipc, pipe->ppl_id); if (ret < 0) dev_err(ctx->dev, "Failed to delete pipeline\n"); + + pipe->state = SKL_PIPE_INVALID; } return ret; |