projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a438645
)
ASoC: Intel: Skylake: Fix to set pipe state to invalid when deleting
author
Jeeja KP
<jeeja.kp@intel.com>
Fri, 18 Dec 2015 09:41:58 +0000
(15:11 +0530)
committer
Mark Brown
<broonie@kernel.org>
Fri, 18 Dec 2015 17:14:21 +0000
(17:14 +0000)
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>
sound/soc/intel/skylake/skl-messages.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/intel/skylake/skl-messages.c
b/sound/soc/intel/skylake/skl-messages.c
index 46310d9ac008bc4d2637b0ba6937b46614a69fa3..de6dac496a0d8b611d4662864597e58ee20330f3 100644
(file)
--- 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;