summaryrefslogtreecommitdiff
path: root/tools/objtool
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2017-01-06 12:34:30 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-05 14:40:30 +0200
commit92e66676523a9f921dfaa383e37d3a4e2edf15df (patch)
treeaf432edb9cad85c47f63cce5b589a3cd37bad5f8 /tools/objtool
parent8a6f400a374c2366ae2e0a3e528a2c9791b1dcd1 (diff)
clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled
commit 67bcc2c5f1da8c5bb58e72354274ea5c59a3950a upstream. Currently we add the virtual cpufreq device unconditionally even when the SCPI DVFS clock provider node is disabled. This will cause cpufreq driver to throw errors when it gets initailised on boot/modprobe and also when the CPUs are hot-plugged back in. This patch fixes the issue by adding the virtual cpufreq device only if the SCPI DVFS clock provider is available and registered. Fixes: 9490f01e2471 ("clk: scpi: add support for cpufreq virtual device") Reported-by: Michał Zegan <webczat_200@poczta.onet.pl> Cc: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Tested-by: Michał Zegan <webczat_200@poczta.onet.pl> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions