aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2440
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2011-03-09 15:46:20 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-11 07:17:11 -0500
commita110f4ef810ee29d810876df725f41d66629733e (patch)
treee5b0d7e9689b8a79065963e39ee5c98a16a2aaf6 /arch/arm/mach-s3c2440
parent27380fb83079bc7bd644e1115bb001dfdcec307f (diff)
ASoC: mini2440: Fix uda134x codec problem.
ASoC audio for mini2440 platform in current kenrel doesn't work. First problem is samsung_asoc_dma device is missing in initialization. Next problem is with codec. Codec is initialized but never probed because no platform_device exist for codec driver. It leads to errors during codec binding to asoc dai. Next problem was platform data which was passed from board to asoc main driver but not passed to codec when called codec_soc_probe(). Following patch should fix issues. But not sure if in correct way. Please review. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r--arch/arm/mach-s3c2440/mach-mini2440.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c
index f62bb4c793bd..7c3fb071ddd6 100644
--- a/arch/arm/mach-s3c2440/mach-mini2440.c
+++ b/arch/arm/mach-s3c2440/mach-mini2440.c
@@ -506,6 +506,11 @@ static struct i2c_board_info mini2440_i2c_devs[] __initdata = {
506 }, 506 },
507}; 507};
508 508
509static struct platform_device uda1340_codec = {
510 .name = "uda134x-codec",
511 .id = -1,
512};
513
509static struct platform_device *mini2440_devices[] __initdata = { 514static struct platform_device *mini2440_devices[] __initdata = {
510 &s3c_device_ohci, 515 &s3c_device_ohci,
511 &s3c_device_wdt, 516 &s3c_device_wdt,
@@ -521,7 +526,9 @@ static struct platform_device *mini2440_devices[] __initdata = {
521 &s3c_device_nand, 526 &s3c_device_nand,
522 &s3c_device_sdi, 527 &s3c_device_sdi,
523 &s3c_device_iis, 528 &s3c_device_iis,
529 &uda1340_codec,
524 &mini2440_audio, 530 &mini2440_audio,
531 &samsung_asoc_dma,
525}; 532};
526 533
527static void __init mini2440_map_io(void) 534static void __init mini2440_map_io(void)