aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/sound/alsa/soc/codec.txt10
-rw-r--r--Documentation/sound/alsa/soc/platform.txt18
2 files changed, 14 insertions, 14 deletions
diff --git a/Documentation/sound/alsa/soc/codec.txt b/Documentation/sound/alsa/soc/codec.txt
index 47b36cb16840..274657a03e1c 100644
--- a/Documentation/sound/alsa/soc/codec.txt
+++ b/Documentation/sound/alsa/soc/codec.txt
@@ -170,11 +170,11 @@ The codec driver also supports the following alsa operations:-
170 170
171/* SoC audio ops */ 171/* SoC audio ops */
172struct snd_soc_ops { 172struct snd_soc_ops {
173 int (*startup)(snd_pcm_substream_t *); 173 int (*startup)(struct snd_pcm_substream *);
174 void (*shutdown)(snd_pcm_substream_t *); 174 void (*shutdown)(struct snd_pcm_substream *);
175 int (*hw_params)(snd_pcm_substream_t *, snd_pcm_hw_params_t *); 175 int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *);
176 int (*hw_free)(snd_pcm_substream_t *); 176 int (*hw_free)(struct snd_pcm_substream *);
177 int (*prepare)(snd_pcm_substream_t *); 177 int (*prepare)(struct snd_pcm_substream *);
178}; 178};
179 179
180Please refer to the alsa driver PCM documentation for details. 180Please refer to the alsa driver PCM documentation for details.
diff --git a/Documentation/sound/alsa/soc/platform.txt b/Documentation/sound/alsa/soc/platform.txt
index c88df261e922..e95b16d5a53b 100644
--- a/Documentation/sound/alsa/soc/platform.txt
+++ b/Documentation/sound/alsa/soc/platform.txt
@@ -12,12 +12,12 @@ The platform DMA driver optionally supports the following alsa operations:-
12 12
13/* SoC audio ops */ 13/* SoC audio ops */
14struct snd_soc_ops { 14struct snd_soc_ops {
15 int (*startup)(snd_pcm_substream_t *); 15 int (*startup)(struct snd_pcm_substream *);
16 void (*shutdown)(snd_pcm_substream_t *); 16 void (*shutdown)(struct snd_pcm_substream *);
17 int (*hw_params)(snd_pcm_substream_t *, snd_pcm_hw_params_t *); 17 int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *);
18 int (*hw_free)(snd_pcm_substream_t *); 18 int (*hw_free)(struct snd_pcm_substream *);
19 int (*prepare)(snd_pcm_substream_t *); 19 int (*prepare)(struct snd_pcm_substream *);
20 int (*trigger)(snd_pcm_substream_t *, int); 20 int (*trigger)(struct snd_pcm_substream *, int);
21}; 21};
22 22
23The platform driver exports it's DMA functionailty via struct snd_soc_platform:- 23The platform driver exports it's DMA functionailty via struct snd_soc_platform:-
@@ -31,11 +31,11 @@ struct snd_soc_platform {
31 int (*resume)(struct platform_device *pdev, struct snd_soc_cpu_dai *cpu_dai); 31 int (*resume)(struct platform_device *pdev, struct snd_soc_cpu_dai *cpu_dai);
32 32
33 /* pcm creation and destruction */ 33 /* pcm creation and destruction */
34 int (*pcm_new)(snd_card_t *, struct snd_soc_codec_dai *, snd_pcm_t *); 34 int (*pcm_new)(struct snd_card *, struct snd_soc_codec_dai *, struct snd_pcm *);
35 void (*pcm_free)(snd_pcm_t *); 35 void (*pcm_free)(struct snd_pcm *);
36 36
37 /* platform stream ops */ 37 /* platform stream ops */
38 snd_pcm_ops_t *pcm_ops; 38 struct snd_pcm_ops *pcm_ops;
39}; 39};
40 40
41Please refer to the alsa driver documentation for details of audio DMA. 41Please refer to the alsa driver documentation for details of audio DMA.