]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mx27vis: retrieve gpio numbers from platform_data
authorShawn Guo <shawn.guo@linaro.org>
Mon, 17 Sep 2012 05:34:31 +0000 (13:34 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Sep 2012 11:35:08 +0000 (07:35 -0400)
commita4218c8f206d2cec8639d5e3129384b5a6f657f1
tree847bc18e076d820d8956dce1f681a7e02c1c2ac1
parentc8e86960a4787c22406566805f01c8427f709166
ASoC: mx27vis: retrieve gpio numbers from platform_data

Rather than including mach/iomux-mx27.h to define gpio numbers and set
up the pins, the patch moves all these into machine code and has the
gpio numbers passed to driver via platform_data.  As the result, we
can remove the mach/iomux-mx27.h inclusion from driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
include/linux/platform_data/asoc-mx27vis.h [new file with mode: 0644]
sound/soc/fsl/mx27vis-aic32x4.c