msm: display: Handle display shutdown properly for 8x25

When continuous splash scren is enabled, the MDP and MIPI DSI
interrupts are not getting disabled during display shutdown
sequence. This is causing huge number of interrupts getting fired
during display init on kernel side causing the target to not boot
up sometimes. Handle display shutdown during bootloader exit
properly.

Change-Id: I25879d62e922a0b2e974aaea6238b4775587cc1d
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
diff --git a/platform/msm_shared/mdp_lcdc.c b/platform/msm_shared/mdp_lcdc.c
index e33c78d..4fc6ee3 100644
--- a/platform/msm_shared/mdp_lcdc.c
+++ b/platform/msm_shared/mdp_lcdc.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2012, The Linux Foundation. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -199,6 +199,7 @@
 
 int mdp_lcdc_off()
 {
-	writel(0x0, MDP_LCDC_EN);
+	if(!target_cont_splash_screen())
+		writel(0x0, MDP_LCDC_EN);
 	return NO_ERROR;
 }