diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-zoom-peripherals.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index 13a644233667..6d0aa4fcb7c3 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c | |||
@@ -274,12 +274,12 @@ static int __init omap_i2c_init(void) | |||
274 | TWL_COMMON_REGULATOR_VDAC | TWL_COMMON_REGULATOR_VPLL2); | 274 | TWL_COMMON_REGULATOR_VDAC | TWL_COMMON_REGULATOR_VPLL2); |
275 | 275 | ||
276 | if (machine_is_omap_zoom2()) { | 276 | if (machine_is_omap_zoom2()) { |
277 | struct twl4030_codec_audio_data *audio_data; | 277 | struct twl4030_codec_data *codec_data; |
278 | audio_data = zoom_twldata.codec->audio; | 278 | codec_data = zoom_twldata.audio->codec; |
279 | 279 | ||
280 | audio_data->ramp_delay_value = 3; /* 161 ms */ | 280 | codec_data->ramp_delay_value = 3; /* 161 ms */ |
281 | audio_data->hs_extmute = 1; | 281 | codec_data->hs_extmute = 1; |
282 | audio_data->set_hs_extmute = zoom2_set_hs_extmute; | 282 | codec_data->set_hs_extmute = zoom2_set_hs_extmute; |
283 | } | 283 | } |
284 | omap_pmic_init(1, 2400, "twl5030", INT_34XX_SYS_NIRQ, &zoom_twldata); | 284 | omap_pmic_init(1, 2400, "twl5030", INT_34XX_SYS_NIRQ, &zoom_twldata); |
285 | omap_register_i2c_bus(2, 400, NULL, 0); | 285 | omap_register_i2c_bus(2, 400, NULL, 0); |