From: Srinivas Pandruvada Date: Thu, 1 Sep 2016 20:37:09 +0000 (-0700) Subject: ACPI / CPPC: Don't return on CPPC probe failure X-Git-Tag: v4.9-rc2~14^2^3~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5448f14698b916e5b04112b104433b90247e01c7;p=platform%2Fkernel%2Flinux-exynos.git ACPI / CPPC: Don't return on CPPC probe failure It is still possible to continue even CPPC data is invalid or missing. Suggested-by: Alexey Klimov Signed-off-by: Srinivas Pandruvada Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index f5c92be..8f8552a 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -246,7 +246,7 @@ static int __acpi_processor_start(struct acpi_device *device) result = acpi_cppc_processor_probe(pr); if (result && !IS_ENABLED(CONFIG_ACPI_CPU_FREQ_PSS)) - return -ENODEV; + dev_warn(&device->dev, "CPPC data invalid or not present\n"); if (!cpuidle_get_driver() || cpuidle_get_driver() == &acpi_idle_driver) acpi_processor_power_init(pr);