Skip to contentSkip to conversation

ASoC: Intel: update stream only on stream IPC msgs

PATCH Applied Jie Yang 2 participants 2 messages Aug 1, 2014

Subsystems (3)
lore
Share & tools
lore

Jie Yang

author
#0 lore raw

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.

---
 sound/soc/intel/sst-haswell-ipc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/intel/sst-haswell-ipc.c +2 -1
index 0fec686..da27f90 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 3 lines · Jie Yang

From: Paweł Piskorski <[email protected]>

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

Applied, thanks.