diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-10-25 04:00:30 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-10-25 04:00:30 -0400 |
commit | aa5c14d5c0d3e4c587db4a1b220b9c86415c538f (patch) | |
tree | 0114637e8be2b38176e7e91e6cea3501b22cb66a /arch/arm/mach-s3c64xx | |
parent | 79fc84c7e0d2fe89c4e82f3a26fd8b0d13c31703 (diff) | |
parent | b11bdb5254ff17cb63e4ae5088b73fdcd2cc2602 (diff) |
Merge branch 'topic/asoc' into for-linus
Conflicts:
arch/powerpc/platforms/85xx/p1022_ds.c
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/dev-audio.c | 20 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6410.c | 1 |
2 files changed, 19 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/dev-audio.c b/arch/arm/mach-s3c64xx/dev-audio.c index 9648fbc36eec..3838335f125b 100644 --- a/arch/arm/mach-s3c64xx/dev-audio.c +++ b/arch/arm/mach-s3c64xx/dev-audio.c | |||
@@ -43,8 +43,10 @@ static int s3c64xx_i2sv3_cfg_gpio(struct platform_device *pdev) | |||
43 | s3c_gpio_cfgpin(S3C64XX_GPE(2), S3C64XX_GPE2_I2S1_LRCLK); | 43 | s3c_gpio_cfgpin(S3C64XX_GPE(2), S3C64XX_GPE2_I2S1_LRCLK); |
44 | s3c_gpio_cfgpin(S3C64XX_GPE(3), S3C64XX_GPE3_I2S1_DI); | 44 | s3c_gpio_cfgpin(S3C64XX_GPE(3), S3C64XX_GPE3_I2S1_DI); |
45 | s3c_gpio_cfgpin(S3C64XX_GPE(4), S3C64XX_GPE4_I2S1_D0); | 45 | s3c_gpio_cfgpin(S3C64XX_GPE(4), S3C64XX_GPE4_I2S1_D0); |
46 | break; | ||
46 | default: | 47 | default: |
47 | printk(KERN_DEBUG "Invalid I2S Controller number!"); | 48 | printk(KERN_DEBUG "Invalid I2S Controller number: %d\n", |
49 | pdev->id); | ||
48 | return -EINVAL; | 50 | return -EINVAL; |
49 | } | 51 | } |
50 | 52 | ||
@@ -184,7 +186,8 @@ static int s3c64xx_pcm_cfg_gpio(struct platform_device *pdev) | |||
184 | s3c_gpio_cfgpin(S3C64XX_GPE(4), S3C64XX_GPE4_PCM1_SOUT); | 186 | s3c_gpio_cfgpin(S3C64XX_GPE(4), S3C64XX_GPE4_PCM1_SOUT); |
185 | break; | 187 | break; |
186 | default: | 188 | default: |
187 | printk(KERN_DEBUG "Invalid PCM Controller number!"); | 189 | printk(KERN_DEBUG "Invalid PCM Controller number: %d\n", |
190 | pdev->id); | ||
188 | return -EINVAL; | 191 | return -EINVAL; |
189 | } | 192 | } |
190 | 193 | ||
@@ -333,3 +336,16 @@ void __init s3c64xx_ac97_setup_gpio(int num) | |||
333 | else | 336 | else |
334 | s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe; | 337 | s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe; |
335 | } | 338 | } |
339 | |||
340 | static u64 s3c_device_audio_dmamask = 0xffffffffUL; | ||
341 | |||
342 | struct platform_device s3c_device_pcm = { | ||
343 | .name = "s3c24xx-pcm-audio", | ||
344 | .id = -1, | ||
345 | .dev = { | ||
346 | .dma_mask = &s3c_device_audio_dmamask, | ||
347 | .coherent_dma_mask = 0xffffffffUL | ||
348 | } | ||
349 | }; | ||
350 | EXPORT_SYMBOL(s3c_device_pcm); | ||
351 | |||
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index d498219fff1b..ecbddd377cb8 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c | |||
@@ -283,6 +283,7 @@ static struct platform_device *smdk6410_devices[] __initdata = { | |||
283 | &s3c_device_fb, | 283 | &s3c_device_fb, |
284 | &s3c_device_ohci, | 284 | &s3c_device_ohci, |
285 | &s3c_device_usb_hsotg, | 285 | &s3c_device_usb_hsotg, |
286 | &s3c_device_pcm, | ||
286 | &s3c64xx_device_iisv4, | 287 | &s3c64xx_device_iisv4, |
287 | &samsung_device_keypad, | 288 | &samsung_device_keypad, |
288 | 289 | ||