[RAMEN9610-8149] [9610] soc: exynos-dm: Modify debug related CONFIG.
authorChungwoo Park <cww.park@samsung.com>
Fri, 2 Nov 2018 05:24:04 +0000 (14:24 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:07 +0000 (20:23 +0300)
Change-Id: Ib994598c32fe03caf80a85510b3c8e32dc3dede9
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
drivers/soc/samsung/exynos-dm.c

index 2f4c19cdd11512d70d71fdd3ae5b8a9238b362b1..3c931ddf3a60b05dbc292db6730fc0294d2b9057 100644 (file)
@@ -672,7 +672,7 @@ static int __policy_update_call_to_DM(int dm_type, u32 min_freq, u32 max_freq)
 #endif
        s32 time = 0, pre_time = 0;
 
-#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
+#ifdef CONFIG_DEBUG_SNAPSHOT_DM
        dbg_snapshot_dm((int)dm_type, min_freq, max_freq, pre_time, time);
 #endif
        do_gettimeofday(&pre);
@@ -720,7 +720,7 @@ out:
        time = (after.tv_sec - before.tv_sec) * USEC_PER_SEC +
                (after.tv_usec - before.tv_usec);
 
-#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
+#ifdef CONFIG_DEBUG_SNAPSHOT_DM
        dbg_snapshot_dm((int)dm_type, min_freq, max_freq, pre_time, time);
 #endif
 
@@ -787,7 +787,7 @@ static int __DM_CALL(int dm_type, unsigned long *target_freq)
        struct timeval pre, before, after;
        s32 time = 0, pre_time = 0;
 
-#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
+#ifdef CONFIG_DEBUG_SNAPSHOT_DM
        dbg_snapshot_dm((int)dm_type, *target_freq, 1, pre_time, time);
 #endif
        do_gettimeofday(&pre);
@@ -851,7 +851,7 @@ static int __DM_CALL(int dm_type, unsigned long *target_freq)
        time = (after.tv_sec - before.tv_sec) * USEC_PER_SEC +
                (after.tv_usec - before.tv_usec);
 
-#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
+#ifdef CONFIG_DEBUG_SNAPSHOT_DM
        dbg_snapshot_dm((int)dm_type, *target_freq, 3, pre_time, time);
 #endif