Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6e08617 authored by Paweł Piskorski's avatar Paweł Piskorski Committed by Mark Brown
Browse files

ASoC: Intel: update stream only on stream IPC msgs



Only update the stream when the IPC message type matches stream type.

Signed-off-by: default avatarPaweł Piskorski <pawel.piskorski@intel.com>
Signed-off-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: default avatarJie Yang <yang.jie@intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 94ce3345
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -782,6 +782,7 @@ static int hsw_process_reply(struct sst_hsw *hsw, u32 header)
	}

	/* update any stream states */
	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 ? */