From c67684b92a835f9a18d1742a2595eb412da56768 Mon Sep 17 00:00:00 2001 From: Eunok Jo Date: Tue, 7 Feb 2017 19:53:10 +0900 Subject: [PATCH] [COMMON] dvfs manager: svace fix: fix type mismatch WGID: 96922, 97112 Change-Id: Iffef18b92ffa67e1b5d77a4c023c6237eda3fb35 Signed-off-by: Eunok Jo --- drivers/soc/samsung/exynos-dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/samsung/exynos-dm.c b/drivers/soc/samsung/exynos-dm.c index e0b05647386b..7b848f8af705 100644 --- a/drivers/soc/samsung/exynos-dm.c +++ b/drivers/soc/samsung/exynos-dm.c @@ -752,7 +752,7 @@ int DM_CALL(enum exynos_dm_type dm_type, unsigned long *target_freq) do_gettimeofday(&before); dm = &exynos_dm->dm_data[dm_type]; - dm->gov_min_freq = *target_freq; + dm->gov_min_freq = (u32)(*target_freq); for (i = 0; i < DM_TYPE_END; i++) (&exynos_dm->dm_data[i])->constraint_checked = 0; @@ -764,7 +764,7 @@ int DM_CALL(enum exynos_dm_type dm_type, unsigned long *target_freq) return -EAGAIN; } - dm->target_freq = *target_freq; + dm->target_freq = (u32)(*target_freq); if (dm->target_freq < dm->min_freq) dm->target_freq = dm->min_freq; -- 2.20.1