Skip to content

Commit

Permalink
ARM: OMAP3: cm-t35: enable audio
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Igor Grinberg authored and Tony Lindgren committed Dec 13, 2011
1 parent cd1c683 commit 19ce643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-omap2/board-cm-t35.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ static struct twl4030_platform_data cm_t35_twldata = {
static void __init cm_t35_init_i2c(void)
{
omap3_pmic_get_config(&cm_t35_twldata, TWL_COMMON_PDATA_USB,
TWL_COMMON_REGULATOR_VDAC);
TWL_COMMON_REGULATOR_VDAC |
TWL_COMMON_PDATA_AUDIO);

omap3_pmic_init("tps65930", &cm_t35_twldata);
}
Expand Down

0 comments on commit 19ce643

Please sign in to comment.