diff mbox

ASoC: Intel: Add notification trace for reset.

Message ID 1406722187-8076-1-git-send-email-yang.jie@intel.com (mailing list archive)
State Accepted
Commit 81552612501f436f3824f056f95fdc04b8a60e1f
Headers show

Commit Message

Jie, Yang July 30, 2014, 12:09 p.m. UTC
From: Liam Girdwood <liam.r.girdwood@linux.intel.com>

Add trace notification of IPC stream reset.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Jie Yang <yang.jie@intel.com>
---
 sound/soc/intel/sst-haswell-ipc.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mark Brown July 30, 2014, 12:17 p.m. UTC | #1
On Wed, Jul 30, 2014 at 08:09:47PM +0800, Jie Yang wrote:
> From: Liam Girdwood <liam.r.girdwood@linux.intel.com>
> 
> Add trace notification of IPC stream reset.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/sst-haswell-ipc.c
index 96373ab..436c2fa 100644
--- a/sound/soc/intel/sst-haswell-ipc.c
+++ b/sound/soc/intel/sst-haswell-ipc.c
@@ -687,7 +687,9 @@  static void hsw_stream_update(struct sst_hsw *hsw, struct ipc_message *msg)
 	switch (stream_msg) {
 	case IPC_STR_STAGE_MESSAGE:
 	case IPC_STR_NOTIFICATION:
+		break;
 	case IPC_STR_RESET:
+		trace_ipc_notification("stream reset", stream->reply.stream_hw_id);
 		break;
 	case IPC_STR_PAUSE:
 		stream->running = false;