summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/pxa2xx-i2s.h
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-02-02 17:20:40 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:03:45 +0100
commiteaff2ae702f937020bfde96eea552caae3815784 (patch)
treeace4fa6e0b77ad0fe957fb474b2e1bb4c83a826b /sound/soc/pxa/pxa2xx-i2s.h
parentc8044274c7f1e269975b2bd55d057ceb7708e929 (diff)
downloadlinux-eaff2ae702f937020bfde96eea552caae3815784.tar.gz
linux-eaff2ae702f937020bfde96eea552caae3815784.tar.bz2
linux-eaff2ae702f937020bfde96eea552caae3815784.zip
[ALSA] soc - ASoC 0.13 pxa2xx i2s driver
This patch updates the pxa2xx I2S driver to the new API in ASoC 0.13. Changes:- o Removed DAI capabilities matching code in favour of manual matching in the machine drivers. o Added DAI operations for codec and CPU interfaces. o Removed config_sysclk() function and struct snd_soc_clock_info. No longer needed as clocking is now configured manually in the machine drivers. Also removed other clocking data from structures. o Added pxa2xx-i2s.h header Signed-off-by: Philipp Zabel <philipp.zabel@gmail.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-i2s.h')
-rw-r--r--sound/soc/pxa/pxa2xx-i2s.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/sound/soc/pxa/pxa2xx-i2s.h b/sound/soc/pxa/pxa2xx-i2s.h
new file mode 100644
index 000000000000..a2484f0881f1
--- /dev/null
+++ b/sound/soc/pxa/pxa2xx-i2s.h
@@ -0,0 +1,20 @@
+/*
+ * linux/sound/arm/pxa2xx-i2s.h
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _PXA2XX_I2S_H
+#define _PXA2XX_I2S_H
+
+/* pxa2xx DAI ID's */
+#define PXA2XX_DAI_I2S 0
+
+/* I2S clock */
+#define PXA2XX_I2S_SYSCLK 0
+
+extern struct snd_soc_cpu_dai pxa_i2s_dai;
+
+#endif