summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2011-12-02 09:59:20 +0800
committerSebastien Jan <s-jan@ti.com>2011-12-05 11:20:27 +0100
commit7f0fb7f353c562b0341e906e11d544800b580a4a (patch)
tree8af15ad466d4e1365c9a0febb5af2ed376f5f060 /include
parent55e906ab2768da2782ef0994ddf8f01a9455c8d7 (diff)
ASoC: DAPM: Add card stream event notification
Add stream event notification for sound card. Change-Id: Ib009bc1889e55bde4b434309090ba1c44f948e4d Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 15fdd0536937..ec15f2f17af3 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -879,6 +879,7 @@ struct snd_soc_card {
/* Generic DAPM context for the card */
struct snd_soc_dapm_context dapm;
struct snd_soc_dapm_stats dapm_stats;
+ int (*stream_event)(struct snd_soc_dapm_context *dapm, int event);
#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_card_root;