From: dkl Date: Mon, 20 Jan 2014 11:31:05 +0000 (+0800) Subject: Revert "rk_clk: not disable unused clocks temporarily" X-Git-Tag: firefly_0821_release~6381 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c09b58f93c276a3b721307a9567bbc9ade041fd3;p=firefly-linux-kernel-4.4.55.git Revert "rk_clk: not disable unused clocks temporarily" This reverts commit 97c8dc7c30de9e04136ce9d52c2cdda0bb828db8. --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 91fa267d9674..2cf2ea6b77a1 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -510,7 +510,7 @@ static int clk_disable_unused(void) { struct clk *clk; - if (1) { + if (clk_ignore_unused) { pr_warn("clk: Not disabling unused clocks\n"); return 0; }