diff options
author | Paweł Piskorski <pawel.piskorski@intel.com> | 2014-08-01 23:10:43 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-01 19:11:29 +0100 |
commit | d6e08617cb0fd7e5cd9effa6ba51dd00b06a0cf1 (patch) | |
tree | b16f437dc7f53ed660c615b9a1b64696dee6e778 /sound/soc/intel | |
parent | 94ce33456dbada5cb6ae1e10bd8895f034de731d (diff) | |
download | blackbird-op-linux-d6e08617cb0fd7e5cd9effa6ba51dd00b06a0cf1.tar.gz blackbird-op-linux-d6e08617cb0fd7e5cd9effa6ba51dd00b06a0cf1.zip |
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>
Diffstat (limited to 'sound/soc/intel')
-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) } /* update any stream states */ - hsw_stream_update(hsw, msg); + if (msg_get_global_type(header) == IPC_GLB_STREAM_MESSAGE) + hsw_stream_update(hsw, msg); /* wake up and return the error if we have waiters on this message ? */ list_del(&msg->list); |