MMP3: QSEVEN enable the GC clock driver be allowed to sleep

The process would be switched and go sleeping when invoking pm_qos_update_request()
in gc_clk_enable() for GC Qos constraint. So GC clock driver must be allowed to sleep
and the IRQ could not be disabled.

Change-Id: I7440be094317f30809203d1a2d86862beb57b419
Signed-off-by: Wei Su <>
(cherry picked from commit bca20d77881eef8e8a3b069722b737d049a9ec7b)

Signed-off-by: Wen-chien Jesse Sung <>
diff --git a/arch/arm/mach-mmp/clock-mmp3.c b/arch/arm/mach-mmp/clock-mmp3.c
index 144eb4f..67db843 100644
--- a/arch/arm/mach-mmp/clock-mmp3.c
+++ b/arch/arm/mach-mmp/clock-mmp3.c
@@ -3493,6 +3493,7 @@
+	clk_set_cansleep(&mmp3_clk_gc);
 	return 0;