aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-06-11 08:47:10 -0400
committerJaroslav Kysela <perex@perex.cz>2008-06-13 10:48:01 -0400
commitbdb92876f0a9d2b431199e385732ede89ff0b97d (patch)
tree5a88d9e7f370facce9e44e60c59ec5636b316b6d /include/sound/soc.h
parentdbac7cb8a7fcae34ffda04e4bc30673c2ea841ae (diff)
ALSA: ASoC: Pass the DAI being configured into CPU DAI probe and remove
This allows per-DAI initialisation to be done by the CPU DAI drivers. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9fa2093e74eb..56d2224c2c07 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -358,8 +358,10 @@ struct snd_soc_cpu_dai {
358 unsigned char type; 358 unsigned char type;
359 359
360 /* DAI callbacks */ 360 /* DAI callbacks */
361 int (*probe)(struct platform_device *pdev); 361 int (*probe)(struct platform_device *pdev,
362 void (*remove)(struct platform_device *pdev); 362 struct snd_soc_cpu_dai *dai);
363 void (*remove)(struct platform_device *pdev,
364 struct snd_soc_cpu_dai *dai);
363 int (*suspend)(struct platform_device *pdev, 365 int (*suspend)(struct platform_device *pdev,
364 struct snd_soc_cpu_dai *cpu_dai); 366 struct snd_soc_cpu_dai *cpu_dai);
365 int (*resume)(struct platform_device *pdev, 367 int (*resume)(struct platform_device *pdev,