瀏覽代碼

ASoC: Intel: Skylake: Set the pipe state to paused when paused

When pipe is stopped/Paused, set the pipe state to paused instead
of created.

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>
Jeeja KP 9 年之前
父節點
當前提交
353f72aa77
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/intel/skylake/skl-messages.c

+ 1 - 1
sound/soc/intel/skylake/skl-messages.c

@@ -1125,7 +1125,7 @@ int skl_stop_pipe(struct skl_sst *ctx, struct skl_pipe *pipe)
 		return ret;
 	}
 
-	pipe->state = SKL_PIPE_CREATED;
+	pipe->state = SKL_PIPE_PAUSED;
 
 	return 0;
 }