diff options
author | Liam Girdwood <lrg@ti.com> | 2012-03-06 13:16:18 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-06 15:07:00 -0500 |
commit | cc22d37e7f5e1745658760660f03793913f43e49 (patch) | |
tree | a5ca907a7c825fc69f70b266d00bd6966a20b517 /include/sound | |
parent | c25cd1543986e7c16c7ddf738748ccd530a18268 (diff) |
ASoC: core: Add platform component mutex
Add mutex support for platform IO operations. e.g. can be used
for platform DAPM widget IO ops.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 82bd773f8ab1..2ebf7877c148 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -718,6 +718,7 @@ struct snd_soc_platform { | |||
718 | int id; | 718 | int id; |
719 | struct device *dev; | 719 | struct device *dev; |
720 | struct snd_soc_platform_driver *driver; | 720 | struct snd_soc_platform_driver *driver; |
721 | struct mutex mutex; | ||
721 | 722 | ||
722 | unsigned int suspended:1; /* platform is suspended */ | 723 | unsigned int suspended:1; /* platform is suspended */ |
723 | unsigned int probed:1; | 724 | unsigned int probed:1; |