samsung: emc: change print wrong message in pwr_check func
authorYoungtae Lee <yt0729.lee@samsung.com>
Wed, 2 May 2018 08:48:17 +0000 (17:48 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:12 +0000 (14:59 +0900)
Change-Id: If017f31c8ea587bd4aeeaedc40f4244e3779da7c
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
drivers/soc/samsung/exynos-emc.c

index fd4265704852b86440547119d67ec0a12c60b101..7af21c82f09b4b712935f8f2e2e5d1feed98ae13 100644 (file)
@@ -736,8 +736,8 @@ static int emc_update_cpu_pwr(unsigned int cpu, bool on)
 
        while (exynos_cpu.power_state(cpu)) {
                if (time_after(jiffies, timeout))
-                       panic("CPU%d %s power on!\n",
-                                       cpu, on? "already" : "not yet");
+                       panic("CPU%d %s power %s!\n",
+                               cpu, on? "already" : "not yet", on? "on" : "off");
 
                udelay(100);
        }