ASoC: mini2440: Fix uda134x codec problem.
authorMarek Belisko <marek.belisko@open-nandra.com>
Wed, 9 Mar 2011 20:46:20 +0000 (21:46 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 11 Mar 2011 12:17:11 +0000 (12:17 +0000)
commita110f4ef810ee29d810876df725f41d66629733e
treee5b0d7e9689b8a79065963e39ee5c98a16a2aaf6
parent27380fb83079bc7bd644e1115bb001dfdcec307f
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
arch/arm/mach-s3c2440/mach-mini2440.c
sound/soc/codecs/uda134x.c
sound/soc/samsung/s3c24xx_uda134x.c