Skip to contentSkip to conversation

ASoC: mx27vis-aic32x4: Convert it to platform driver

PATCH Superseded Fabio Estevam 2 participants 2 messages Mar 12, 2012

Subsystems (5)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v3 1/1 ASoC: mx27vis-aic32x4: Convert it to platform driver

Convert mx27vis-aic32x4 to platform driver.

---
Changes since v2:
- Add missing initialization of mx27vis_aic32x4.dev
- Add Tested-by line
Changes since v1:
- Fix MODULE_ALIAS
- Rename it to mx27vis

 arch/arm/mach-imx/mach-imx27_visstrim_m10.c |    1 +
 sound/soc/imx/mx27vis-aic32x4.c             |   41 ++++++++++++++------------
 2 files changed, 23 insertions(+), 19 deletions(-)
arch/arm/mach-imx/mach-imx27_visstrim_m10.c +1 -0
index 0a1643c..ed6023f 100644
@@ -397,6 +397,7 @@ static void __init visstrim_m10_board_init(void)
 				      &iclink_tvp5150, sizeof(iclink_tvp5150));
 	gpio_led_register_device(0, &visstrim_m10_led_data);
 	visstrim_camera_init();
+	imx_add_platform_device("mx27vis", 0, NULL, 0, NULL, 0);
 }
 
 static void __init visstrim_m10_timer_init(void)
sound/soc/imx/mx27vis-aic32x4.c +22 -19

66 lines not on this page · raw message

Signature · 1 line
1.7.1
#1 lore raw
Quoted 1 line · Fabio Estevam

Convert mx27vis-aic32x4 to platform driver.

This doesn't apply against current ASoC, there's some conflicting arch/arm changes. Please rebase against my for-3.4 - the conflicts should be trivially resolvable by Linus when he pulls.