Skip to content

Commit

Permalink
memory: samsung: exynos5422-dmc: Use delayed timer as default
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
chanwoochoi committed Jul 30, 2020
1 parent 4dc3bab commit ae8eb8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/memory/samsung/exynos5422-dmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ae8eb8b

Please sign in to comment.