|
@@ -1098,7 +1098,7 @@ int skl_delete_pipe(struct skl_sst *ctx, struct skl_pipe *pipe)
|
|
|
dev_dbg(ctx->dev, "%s: pipe = %d\n", __func__, pipe->ppl_id);
|
|
|
|
|
|
/* If pipe is started, do stop the pipe in FW. */
|
|
|
- if (pipe->state > SKL_PIPE_STARTED) {
|
|
|
+ if (pipe->state >= SKL_PIPE_STARTED) {
|
|
|
ret = skl_set_pipe_state(ctx, pipe, PPL_PAUSED);
|
|
|
if (ret < 0) {
|
|
|
dev_err(ctx->dev, "Failed to stop pipeline\n");
|