aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/pxa2xx-pcm.h
diff options
context:
space:
mode:
authorAndrew Johnson <ajohnson@intrinsyc.com>2007-02-02 11:21:50 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:03:47 -0500
commita8f5d0a5d02cda0183c6e68d6a66d4c6641149a9 (patch)
tree440b21b913e3c3c14a7c3fa7b50232b81b58e711 /sound/soc/pxa/pxa2xx-pcm.h
parent596ce32b74dccf53ef59cc9ba2e95a2a34ba921c (diff)
[ALSA] soc - ASoC 0.13 pxa2xx DMA
This patch updates the pxa2xx I2S driver to the new API in ASoC 0.13. Changes:- o Added check in hw_params to detect buffer less pcms (i.e. BT <--> codec). o Updated structures to new API o Removed DAI's and ac97 ops from PCM header. o Integer hardware constraint added for periods. Signed-off-by: Andrew Johnson <ajohnson@intrinsyc.com> Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc/pxa/pxa2xx-pcm.h')
-rw-r--r--sound/soc/pxa/pxa2xx-pcm.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.h b/sound/soc/pxa/pxa2xx-pcm.h
index 0b55f070da27..54c9c755e508 100644
--- a/sound/soc/pxa/pxa2xx-pcm.h
+++ b/sound/soc/pxa/pxa2xx-pcm.h
@@ -28,21 +28,7 @@ struct pxa2xx_gpio {
28 u32 frm; 28 u32 frm;
29}; 29};
30 30
31/* pxa2xx DAI ID's */
32#define PXA2XX_DAI_AC97_HIFI 0
33#define PXA2XX_DAI_AC97_AUX 1
34#define PXA2XX_DAI_AC97_MIC 2
35#define PXA2XX_DAI_I2S 0
36#define PXA2XX_DAI_SSP1 0
37#define PXA2XX_DAI_SSP2 1
38#define PXA2XX_DAI_SSP3 2
39
40extern struct snd_soc_cpu_dai pxa_ac97_dai[3];
41extern struct snd_soc_cpu_dai pxa_i2s_dai;
42extern struct snd_soc_cpu_dai pxa_ssp_dai[3];
43
44/* platform data */ 31/* platform data */
45extern struct snd_soc_platform pxa2xx_soc_platform; 32extern struct snd_soc_platform pxa2xx_soc_platform;
46extern struct snd_ac97_bus_ops pxa2xx_ac97_ops;
47 33
48#endif 34#endif