diff options
author | Ivan Kuten <ivan.kuten@promwad.com> | 2007-10-26 16:53:47 +0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 19:29:10 +0300 |
commit | 040956fabbc16b9ce746a03d2b589052e1771138 (patch) | |
tree | a9f22ff5a1d12c7f59aee647e55ffea72e30d435 /sound/soc/s3c24xx/s3c24xx-ac97.h | |
parent | f651b50b9d1ab44f7b09d1ef28ba702903732fd3 (diff) | |
download | linux-040956fabbc16b9ce746a03d2b589052e1771138.tar.xz |
[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.h | 6 |
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_*/ |