]> Git Repo - linux.git/commitdiff
memory: samsung: exynos5422-dmc: Use delayed timer as default
authorChanwoo Choi <[email protected]>
Fri, 3 Jul 2020 06:04:50 +0000 (15:04 +0900)
committerChanwoo Choi <[email protected]>
Thu, 30 Jul 2020 08:22:57 +0000 (17:22 +0900)
Use delayed timer as default instead of deferrable timer
in order to monitor the DMC status regardless of CPU idle.

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
drivers/memory/samsung/exynos5422-dmc.c

index 25196d6268e21d5d6d688619b84a5fa34754c7a9..93e9c2429c0d4d2deb80290d62dbd1208b417417 100644 (file)
@@ -945,6 +945,7 @@ static int exynos5_dmc_get_cur_freq(struct device *dev, unsigned long *freq)
  * It provides to the devfreq framework needed functions and polling period.
  */
 static struct devfreq_dev_profile exynos5_dmc_df_profile = {
+       .timer = DEVFREQ_TIMER_DELAYED,
        .target = exynos5_dmc_target,
        .get_dev_status = exynos5_dmc_get_status,
        .get_cur_freq = exynos5_dmc_get_cur_freq,
This page took 0.0545 seconds and 4 git commands to generate.