ASoC: dapm - Add DAPM stream completion event.

In preparation for ASoC DSP support.

This adds a callback function to be called at the completion of a DAPM stream
event.

This can be used by DSP components to perform calculations based on DAPM graphs.

Signed-off-by: Liam Girdwood <lrg@ti.com>
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index f37c293..788136c 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -515,6 +515,8 @@
 	int dev_power;
 	struct list_head list;
 
+	int (*stream_event)(struct snd_soc_dapm_context *dapm);
+
 #ifdef CONFIG_DEBUG_FS
 	struct dentry *debugfs_dapm;
 #endif
diff --git a/include/sound/soc.h b/include/sound/soc.h
index ed49298..d3c8742 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -616,6 +616,9 @@
 	/* probe ordering - for components with runtime dependencies */
 	bool late_probe;
 	bool early_remove;
+
+	/* codec stream completion event */
+	int (*stream_event)(struct snd_soc_dapm_context *dapm);
 };
 
 /* SoC platform interface */
@@ -643,6 +646,8 @@
 	/* probe ordering - for components with runtime dependencies */
 	bool late_probe;
 	bool early_remove;
+
+	int (*stream_event)(struct snd_soc_dapm_context *dapm);
 };
 
 struct snd_soc_platform {