[alsa-devel] [PATCH] ASoC: Intel: Add notification trace for reset.
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(+)
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;
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.
participants (2)
-
Jie Yang
-
Mark Brown