diff options
author | Ivan Kuten <ivan.kuten@promwad.com> | 2007-10-26 08:53:47 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:10 -0500 |
commit | 040956fabbc16b9ce746a03d2b589052e1771138 (patch) | |
tree | a9f22ff5a1d12c7f59aee647e55ffea72e30d435 /sound/soc/s3c24xx/s3c2443-ac97.c | |
parent | f651b50b9d1ab44f7b09d1ef28ba702903732fd3 (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/s3c2443-ac97.c')
-rw-r--r-- | sound/soc/s3c24xx/s3c2443-ac97.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c index 758a2637e7ac..96605b72e71c 100644 --- a/sound/soc/s3c24xx/s3c2443-ac97.c +++ b/sound/soc/s3c24xx/s3c2443-ac97.c | |||
@@ -253,7 +253,7 @@ static int s3c2443_ac97_probe(struct platform_device *pdev) | |||
253 | ac_glbctrl |= S3C_AC97_GLBCTRL_TRANSFERDATAENABLE; | 253 | ac_glbctrl |= S3C_AC97_GLBCTRL_TRANSFERDATAENABLE; |
254 | writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL); | 254 | writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL); |
255 | 255 | ||
256 | ret = request_irq(IRQ_S3C2443_AC97, s3c2443_ac97_irq, | 256 | ret = request_irq(IRQ_S3C244x_AC97, s3c2443_ac97_irq, |
257 | IRQF_DISABLED, "AC97", NULL); | 257 | IRQF_DISABLED, "AC97", NULL); |
258 | if (ret < 0) { | 258 | if (ret < 0) { |
259 | printk(KERN_ERR "s3c24xx-ac97: interrupt request failed.\n"); | 259 | printk(KERN_ERR "s3c24xx-ac97: interrupt request failed.\n"); |
@@ -266,7 +266,7 @@ static int s3c2443_ac97_probe(struct platform_device *pdev) | |||
266 | 266 | ||
267 | static void s3c2443_ac97_remove(struct platform_device *pdev) | 267 | static void s3c2443_ac97_remove(struct platform_device *pdev) |
268 | { | 268 | { |
269 | free_irq(IRQ_S3C2443_AC97, NULL); | 269 | free_irq(IRQ_S3C244x_AC97, NULL); |
270 | clk_disable(s3c24xx_ac97.ac97_clk); | 270 | clk_disable(s3c24xx_ac97.ac97_clk); |
271 | clk_put(s3c24xx_ac97.ac97_clk); | 271 | clk_put(s3c24xx_ac97.ac97_clk); |
272 | iounmap(s3c24xx_ac97.regs); | 272 | iounmap(s3c24xx_ac97.regs); |