summaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/s3c24xx-ac97.h
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-10-26 14:53:47 +0200
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:10 +0100
commit040956fabbc16b9ce746a03d2b589052e1771138 (patch)
treea9f22ff5a1d12c7f59aee647e55ffea72e30d435 /sound/soc/s3c24xx/s3c24xx-ac97.h
parent[ALSA] HDA: Add support for Samsung Q1 Ultra Vista edition (diff)
downloadlinux-040956fabbc16b9ce746a03d2b589052e1771138.tar.xz
linux-040956fabbc16b9ce746a03d2b589052e1771138.zip
[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 @@
#define AC_CMD_ADDR(x) (x << 16)
#define AC_CMD_DATA(x) (x & 0xffff)
+#ifdef CONFIG_CPU_S3C2440
+#define IRQ_S3C244x_AC97 IRQ_S3C2440_AC97
+#else
+#define IRQ_S3C244x_AC97 IRQ_S3C2443_AC97
+#endif
+
extern struct snd_soc_cpu_dai s3c2443_ac97_dai[];
#endif /*S3C24XXAC97_H_*/