diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-25 19:06:20 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-25 19:06:20 -0500 |
commit | 39909b7114425fa390ee8e2f22477bf4679f8cf3 (patch) | |
tree | e76c25ad91ead6ba5d1caaf462c5862888fa691c /drivers | |
parent | ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc (diff) | |
parent | 194fe6f28e2819d3f50fbed24c3b72f21501dbfa (diff) |
Merge branch 'cpuidle/3.20' of http://git.linaro.org/people/daniel.lezcano/linux into pm-cpuidle
Pull ARM cpuidle update for 3.20 from Daniel Lezcano.
* 'cpuidle/3.20' of http://git.linaro.org/people/daniel.lezcano/linux:
drivers: cpuidle: Don't initialize big.LITTLE driver if MCPM is unavailable
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpuidle/cpuidle-big_little.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle/cpuidle-big_little.c index e3e225fe6b45..40c34faffe59 100644 --- a/drivers/cpuidle/cpuidle-big_little.c +++ b/drivers/cpuidle/cpuidle-big_little.c | |||
@@ -182,6 +182,10 @@ static int __init bl_idle_init(void) | |||
182 | */ | 182 | */ |
183 | if (!of_match_node(compatible_machine_match, root)) | 183 | if (!of_match_node(compatible_machine_match, root)) |
184 | return -ENODEV; | 184 | return -ENODEV; |
185 | |||
186 | if (!mcpm_is_available()) | ||
187 | return -EUNATCH; | ||
188 | |||
185 | /* | 189 | /* |
186 | * For now the differentiation between little and big cores | 190 | * For now the differentiation between little and big cores |
187 | * is based on the part number. A7 cores are considered little | 191 | * is based on the part number. A7 cores are considered little |