OSDN Git Service

ASoC: Intel: Add notification trace for reset.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Wed, 30 Jul 2014 12:09:47 +0000 (20:09 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 30 Jul 2014 12:16:58 +0000 (13:16 +0100)
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>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-haswell-ipc.c

index 96373ab..436c2fa 100644 (file)
@@ -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;