msm7627a: Disable MDP clocks during display shutdown.
CRs-Fixed: 371586
Change-Id: If1e6783462cf0be74b07aeb59d9cadf46eb8de0d
diff --git a/platform/msm_shared/proc_comm.c b/platform/msm_shared/proc_comm.c
index 4a3b4c7..13a5d30 100644
--- a/platform/msm_shared/proc_comm.c
+++ b/platform/msm_shared/proc_comm.c
@@ -2,7 +2,7 @@
* Copyright (c) 2008, Google Inc.
* All rights reserved.
*
- * Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -250,6 +250,12 @@
clock_enable(MDP_P_CLK);
}
+void mdp_clock_disable(void)
+{
+ clock_disable(MDP_CLK);
+ clock_disable(MDP_P_CLK);
+}
+
void uart3_clock_init(void)
{
clock_enable(UART3_CLK);