diff options
| author | Paweł Piskorski <pawel.piskorski@intel.com> | 2014-08-01 11:10:43 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-08-01 14:11:29 -0400 |
| commit | d6e08617cb0fd7e5cd9effa6ba51dd00b06a0cf1 (patch) | |
| tree | b16f437dc7f53ed660c615b9a1b64696dee6e778 | |
| parent | 94ce33456dbada5cb6ae1e10bd8895f034de731d (diff) | |
ASoC: Intel: update stream only on stream IPC msgs
Only update the stream when the IPC message type matches stream type.
Signed-off-by: Paweł Piskorski <pawel.piskorski@intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
| -rw-r--r-- | sound/soc/intel/sst-haswell-ipc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/sst-haswell-ipc.c index ae204a6e316b..b6291516dbbf 100644 --- a/sound/soc/intel/sst-haswell-ipc.c +++ b/sound/soc/intel/sst-haswell-ipc.c | |||
| @@ -782,7 +782,8 @@ static int hsw_process_reply(struct sst_hsw *hsw, u32 header) | |||
| 782 | } | 782 | } |
| 783 | 783 | ||
| 784 | /* update any stream states */ | 784 | /* update any stream states */ |
| 785 | hsw_stream_update(hsw, msg); | 785 | if (msg_get_global_type(header) == IPC_GLB_STREAM_MESSAGE) |
| 786 | hsw_stream_update(hsw, msg); | ||
| 786 | 787 | ||
| 787 | /* wake up and return the error if we have waiters on this message ? */ | 788 | /* wake up and return the error if we have waiters on this message ? */ |
| 788 | list_del(&msg->list); | 789 | list_del(&msg->list); |
