aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/s3c24xx-ac97.h
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-10-26 08:53:47 -0400
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:10 -0500
commit040956fabbc16b9ce746a03d2b589052e1771138 (patch)
treea9f22ff5a1d12c7f59aee647e55ffea72e30d435 /sound/soc/s3c24xx/s3c24xx-ac97.h
parentf651b50b9d1ab44f7b09d1ef28ba702903732fd3 (diff)
[ALSA] soc - ln2440sbc ac97 support
This patch adds ac97 support for ln2440sbc board from LittleChips. This board is based on s3c2440 SoC + AC97 Realtek ALC650 codec. Existing s3c2443 implementation is slightly modified because s3c2440 and s3c2443 have different AC97 interrupts. Signed-off-by: Ivan Kuten <ivan.kuten@promwad.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/s3c24xx/s3c24xx-ac97.h')
-rw-r--r--sound/soc/s3c24xx/s3c24xx-ac97.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx-ac97.h b/sound/soc/s3c24xx/s3c24xx-ac97.h
index 2b835e8260fa..bf03e8ed16c3 100644
--- a/sound/soc/s3c24xx/s3c24xx-ac97.h
+++ b/sound/soc/s3c24xx/s3c24xx-ac97.h
@@ -20,6 +20,12 @@
20#define AC_CMD_ADDR(x) (x << 16) 20#define AC_CMD_ADDR(x) (x << 16)
21#define AC_CMD_DATA(x) (x & 0xffff) 21#define AC_CMD_DATA(x) (x & 0xffff)
22 22
23#ifdef CONFIG_CPU_S3C2440
24#define IRQ_S3C244x_AC97 IRQ_S3C2440_AC97
25#else
26#define IRQ_S3C244x_AC97 IRQ_S3C2443_AC97
27#endif
28
23extern struct snd_soc_cpu_dai s3c2443_ac97_dai[]; 29extern struct snd_soc_cpu_dai s3c2443_ac97_dai[];
24 30
25#endif /*S3C24XXAC97_H_*/ 31#endif /*S3C24XXAC97_H_*/