summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/s3c2440-cpufreq.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-02-26 16:54:31 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-02-26 09:39:38 -0800
commit3e5dd6f6e690048d0fd1c913397506648724474e (patch)
treed471e51753e40f97a59606bc5bd0d3dcc4402888 /drivers/cpufreq/s3c2440-cpufreq.c
parent023bd7166be0595d18220dfd5c9765b3970f6ef3 (diff)
downloadlinux-3e5dd6f6e690048d0fd1c913397506648724474e.tar.gz
clk: Ignore disabled DT clock providers
of_clk_init() uses for_each_matching_node_and_match() to find clock providers, which returns all matching device nodes, whether they are enabled or not. Hence clock providers that are disabled explicitly in DT using e.g. "status = "disabled"; are still activated. Add a check to ignore device nodes that are not enabled, like of_irq_init() does. Reported-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/cpufreq/s3c2440-cpufreq.c')
0 files changed, 0 insertions, 0 deletions