summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobert Marklund <robert.marklund@stericsson.com>2011-10-26 15:02:03 +0200
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2011-11-10 11:04:25 -0700
commite985c1acf4a2986b66556dc9a01a248859a57310 (patch)
tree9a92adf97d9941ac484f7d0924e506f9468d3b37 /arch
parentc251ec6cd71a5d47cd06f169323e18a2d8ed0215 (diff)
ux500: mcde: Remove unnessesary delay for av8100
Remove unessesary delay for av8100 during startup. Snowball have access to the clock for av8100 from the start so no need to wait a long time in vain. Change-Id: I383d9e3cb4e48c511ca869fb3b680937326959da Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35356 Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com> Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/board-mop500-mcde.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-mcde.c b/arch/arm/mach-ux500/board-mop500-mcde.c
index efddf193e5f..ff0d278fd8e 100644
--- a/arch/arm/mach-ux500/board-mop500-mcde.c
+++ b/arch/arm/mach-ux500/board-mop500-mcde.c
@@ -684,7 +684,6 @@ static struct notifier_block framebuffer_nb = {
int __init init_display_devices(void)
{
int ret = 0;
-
#ifdef CONFIG_DISPLAY_GENERIC_DSI_PRIMARY_VSYNC
struct i2c_adapter *i2c0;
#endif
@@ -750,11 +749,16 @@ int __init init_display_devices(void)
#endif
#ifdef CONFIG_DISPLAY_AV8100_TERTIARY
- INIT_DELAYED_WORK_DEFERRABLE(&work_dispreg_hdmi,
- delayed_work_dispreg_hdmi);
-
- schedule_delayed_work(&work_dispreg_hdmi,
- msecs_to_jiffies(DISPREG_HDMI_DELAY));
+ /* Snowball dont need this delay at all */
+ if (machine_is_snowball())
+ delayed_work_dispreg_hdmi(NULL);
+ else {
+ INIT_DELAYED_WORK_DEFERRABLE(&work_dispreg_hdmi,
+ delayed_work_dispreg_hdmi);
+
+ schedule_delayed_work(&work_dispreg_hdmi,
+ msecs_to_jiffies(DISPREG_HDMI_DELAY));
+ }
#endif
#ifdef CONFIG_DISPLAY_AB8500_TERTIARY
ret = mcde_display_device_register(&tvout_ab8500_display);