diff options
author | Sudeep Holla <[email protected]> | 2016-04-27 17:18:59 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-04-28 15:25:56 +0200 |
commit | 2482bc31ca8096241b8fa97610ef23154ce55f45 (patch) | |
tree | 8f9cc83eadb3dc5bd51ce3ed1279088521ded68c /scripts/gdb/linux | |
parent | 1becf03545a0859ceaaf9e8c2d9861882a71cb01 (diff) |
cpufreq: st: enable selective initialization based on the platform
The sti-cpufreq does unconditional registration of the cpufreq-dt driver
which causes issue on an multi-platform build. For example, on Vexpress
TC2 platform, we get the following error on boot:
cpu cpu0: OPP-v2 not supported
cpu cpu0: Not doing voltage scaling
cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table
for cpu:0, -19
cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6)
...
arm_big_little: bL_cpufreq_register: Failed registering platform driver:
vexpress-spc, err: -17
The actual driver fails to initialise as cpufreq-dt is probed
successfully, which is incorrect. This issue can happen to any platform
not using cpufreq-dt in a multi-platform build.
This patch adds a check to do selective initialization of the driver.
Fixes: ab0ea257fc58 (cpufreq: st: Provide runtime initialised driver for ST's platforms)
Signed-off-by: Sudeep Holla <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Lee Jones <[email protected]>
Cc: 4.5+ <[email protected]> # 4.5+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions