diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2016-06-03 08:59:35 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-07 09:19:11 -0400 |
commit | 353f72aa77581926c0634fffe168f206435a8fc6 (patch) | |
tree | e7c48ef6b5972203f55cd6aee18cbe2857d4b164 | |
parent | 2004432f946e985fe98b67d515c52d69747016f9 (diff) |
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>
-rw-r--r-- | sound/soc/intel/skylake/skl-messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1125 | return ret; | 1125 | return ret; |
1126 | } | 1126 | } |
1127 | 1127 | ||
1128 | pipe->state = SKL_PIPE_CREATED; | 1128 | pipe->state = SKL_PIPE_PAUSED; |
1129 | 1129 | ||
1130 | return 0; | 1130 | return 0; |
1131 | } | 1131 | } |