Merge branch 'acpi-ec'
[linux-drm-fsl-dcu.git] / drivers / cpuidle / cpuidle-big_little.c
index e3e225fe6b45ed33418b0bd1357eb257e487ba70..40c34faffe594951c7e6aea92f730fbfd201c71f 100644 (file)
@@ -182,6 +182,10 @@ static int __init bl_idle_init(void)
         */
        if (!of_match_node(compatible_machine_match, root))
                return -ENODEV;
+
+       if (!mcpm_is_available())
+               return -EUNATCH;
+
        /*
         * For now the differentiation between little and big cores
         * is based on the part number. A7 cores are considered little