aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-02 10:08:03 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-02 10:16:23 -0500
commit6308419a199eed66086cd756ab8dc81b88d54a6b (patch)
treeeb192c630862769a803729b2c366a69f9184e38e /include/sound/soc.h
parent0ecfe7987855d21c2a89ffe003ddf0ee11b42d47 (diff)
ASoC: Push workqueue data into snd_soc_card
ASoC v2 does not use the struct snd_soc_device at runtime, using struct snd_soc_card as the root of the card. Begin removing data from snd_soc_device by pushing the workqueue data into snd_soc_card, using a backpointer to the snd_soc_device to keep things going for the time being. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9356c1ce98c1..359ec49f8d0d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -349,6 +349,11 @@ struct snd_soc_card {
349 /* CPU <--> Codec DAI links */ 349 /* CPU <--> Codec DAI links */
350 struct snd_soc_dai_link *dai_link; 350 struct snd_soc_dai_link *dai_link;
351 int num_links; 351 int num_links;
352
353 struct snd_soc_device *socdev;
354
355 struct delayed_work delayed_work;
356 struct work_struct deferred_resume_work;
352}; 357};
353 358
354/* SoC Device - the audio subsystem */ 359/* SoC Device - the audio subsystem */
@@ -358,8 +363,6 @@ struct snd_soc_device {
358 struct snd_soc_platform *platform; 363 struct snd_soc_platform *platform;
359 struct snd_soc_codec *codec; 364 struct snd_soc_codec *codec;
360 struct snd_soc_codec_device *codec_dev; 365 struct snd_soc_codec_device *codec_dev;
361 struct delayed_work delayed_work;
362 struct work_struct deferred_resume_work;
363 void *codec_data; 366 void *codec_data;
364#ifdef CONFIG_DEBUG_FS 367#ifdef CONFIG_DEBUG_FS
365 struct dentry *debugfs_root; 368 struct dentry *debugfs_root;