aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-07-04 17:10:52 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-05 14:07:39 -0400
commitb7950641374ddb41e9a03ff61b43f9ab3fcf763d (patch)
treeafd469b165d71265caabb9070d24167419ad1f18 /include/sound/soc-dapm.h
parenta491a5c84f34febfebd4cb0b8c9add97977efa97 (diff)
ASoC: core - Add platform widget IO
Allow platform driver widgets to perform any IO required for DAPM. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc-dapm.h')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 2 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 */