aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Su <wei.su@archermind.com>2013-02-27 17:05:44 +0800
committerLubomir Rintel <lkundrak@v3.sk>2019-07-22 19:40:06 +0200
commit5f63cba457e0112959e4892e4c4cbaa26c178e7e (patch)
treeb399a02cb9564112188620d127517c5a6535e657
parent5a425ad9b2258ca9d54842d17de7a5b9113e4528 (diff)
downloadlinux-mmp3-dell-ariel-5f63cba457e0112959e4892e4c4cbaa26c178e7e.tar.gz
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 <wei.su@archermind.com> (cherry picked from commit bca20d77881eef8e8a3b069722b737d049a9ec7b) Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
-rw-r--r--arch/arm/mach-mmp/clock-mmp3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/clock-mmp3.c b/arch/arm/mach-mmp/clock-mmp3.c
index 144eb4ffe3e87..67db8432de269 100644
--- a/arch/arm/mach-mmp/clock-mmp3.c
+++ b/arch/arm/mach-mmp/clock-mmp3.c
@@ -3493,6 +3493,7 @@ static int __init mmp3_clk_init(void)
clk_set_cansleep(&mmp3_clk_ddr);
mutex_init(&disable_ddr_lock);
#endif
+ clk_set_cansleep(&mmp3_clk_gc);
return 0;
}