aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-07-24 15:59:33 -0400
committerPaolo Pisati <paolo.pisati@canonical.com>2012-08-17 04:18:19 -0400
commit0d09d165cbcd2de57df52ceea46b3151f1d9ebbb (patch)
tree4f3ab3571de0bebce413bdf126077f1465273729 /include
parent2e6c3d203e9bae344834bdb7609ccf37c1a97089 (diff)
Subject: [PATCH 036/104] ASoC: core - platform widget IO
Allow platform driver widgets to perform any IO required via DAPM. Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h2
-rw-r--r--include/sound/soc.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 602024d4c45..e09505c5a49 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -447,6 +447,7 @@ struct snd_soc_dapm_widget {
447 char *name; /* widget name */ 447 char *name; /* widget name */
448 char *sname; /* stream name */ 448 char *sname; /* stream name */
449 struct snd_soc_codec *codec; 449 struct snd_soc_codec *codec;
450 struct snd_soc_platform *platform;
450 struct list_head list; 451 struct list_head list;
451 struct snd_soc_dapm_context *dapm; 452 struct snd_soc_dapm_context *dapm;
452 453
@@ -510,6 +511,7 @@ struct snd_soc_dapm_context {
510 511
511 struct device *dev; /* from parent - for debug */ 512 struct device *dev; /* from parent - for debug */
512 struct snd_soc_codec *codec; /* parent codec */ 513 struct snd_soc_codec *codec; /* parent codec */
514 struct snd_soc_platform *platform; /* parent platform */
513 struct snd_soc_card *card; /* parent card */ 515 struct snd_soc_card *card; /* parent card */
514 516
515 /* used during DAPM updates */ 517 /* used during DAPM updates */
diff --git a/include/sound/soc.h b/include/sound/soc.h
index c421501532d..6ce8dc32a3d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -682,6 +682,8 @@ struct snd_soc_platform {
682 struct snd_soc_card *card; 682 struct snd_soc_card *card;
683 struct list_head list; 683 struct list_head list;
684 struct list_head card_list; 684 struct list_head card_list;
685
686 struct snd_soc_dapm_context dapm;
685}; 687};
686 688
687struct snd_soc_dai_link { 689struct snd_soc_dai_link {