diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-12-13 13:48:52 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-13 13:48:52 -0500 |
commit | 19ce643997c5b75df2410e9b632c2c29e6cf8ae2 (patch) | |
tree | 115a12b508a1f68e56cdfcc3059948edca4b34ec /arch | |
parent | cd1c683c5515c35368fef7072f30aab97ef064e5 (diff) |
ARM: OMAP3: cm-t35: enable audio
TWL4030 audio codec is not being registered if no platform data is
supplied. Provide platform data for the TWL4030 audio codec.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated subject]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 22644d2724e8..c417b7d004d1 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -477,7 +477,8 @@ static struct twl4030_platform_data cm_t35_twldata = { | |||
477 | static void __init cm_t35_init_i2c(void) | 477 | static void __init cm_t35_init_i2c(void) |
478 | { | 478 | { |
479 | omap3_pmic_get_config(&cm_t35_twldata, TWL_COMMON_PDATA_USB, | 479 | omap3_pmic_get_config(&cm_t35_twldata, TWL_COMMON_PDATA_USB, |
480 | TWL_COMMON_REGULATOR_VDAC); | 480 | TWL_COMMON_REGULATOR_VDAC | |
481 | TWL_COMMON_PDATA_AUDIO); | ||
481 | 482 | ||
482 | omap3_pmic_init("tps65930", &cm_t35_twldata); | 483 | omap3_pmic_init("tps65930", &cm_t35_twldata); |
483 | } | 484 | } |