summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-06-11 14:47:10 +0200
committerJaroslav Kysela <perex@perex.cz>2008-06-13 16:48:01 +0200
commitbdb92876f0a9d2b431199e385732ede89ff0b97d (patch)
tree5a88d9e7f370facce9e44e60c59ec5636b316b6d /include/sound
parentALSA: ASoC: Add missing includes (diff)
downloadlinux-bdb92876f0a9d2b431199e385732ede89ff0b97d.tar.xz
linux-bdb92876f0a9d2b431199e385732ede89ff0b97d.zip
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')
-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 {
unsigned char type;
/* DAI callbacks */
- int (*probe)(struct platform_device *pdev);
- void (*remove)(struct platform_device *pdev);
+ int (*probe)(struct platform_device *pdev,
+ struct snd_soc_cpu_dai *dai);
+ void (*remove)(struct platform_device *pdev,
+ struct snd_soc_cpu_dai *dai);
int (*suspend)(struct platform_device *pdev,
struct snd_soc_cpu_dai *cpu_dai);
int (*resume)(struct platform_device *pdev,