ASoC: Intel: update stream only on stream IPC msgs
Subsystems (3)
PATCH 1/1 ASoC: Intel: update stream only on stream IPC msgs
From: Paweł Piskorski <[email protected]>
Only update the stream when the IPC message type matches stream type.
Signed-off-by Paweł Piskorski <[email protected]>
Signed-off-by Liam Girdwood <[email protected]>
Signed-off-by Jie Yang <[email protected]>
--- sound/soc/intel/sst-haswell-ipc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/intel/sst-haswell-ipc.c +2 -1
@@ -780,7 +780,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);
Signature · 6 lines
1.8.3.2 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 3 lines · Jie Yang
From: Paweł Piskorski <[email protected]>
Only update the stream when the IPC message type matches stream type.
Applied, thanks.