From: Jeeja KP Date: Fri, 3 Jun 2016 12:59:35 +0000 (+0530) Subject: ASoC: Intel: Skylake: Set the pipe state to paused when paused X-Git-Tag: v4.8-rc1~84^2~1^2~14^2~47 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=353f72aa77581926c0634fffe168f206435a8fc6;p=karo-tx-linux.git 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 Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index c6824036fc24..07d2a73ff207 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/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; }