dfll: backport from 6.16

This commit is contained in:
2025-10-06 20:45:14 +00:00
parent 40db994278
commit 460a261bc0

View File

@@ -4124,7 +4124,8 @@ int tegra_dfll_register(struct platform_device *pdev,
}
/* Initialize tuning timer */
hrtimer_setup(&td->tune_timer, &dfll_tune_timer_cb, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
hrtimer_init(&td->tune_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
td->tune_timer.function = dfll_tune_timer_cb;
td->tune_delay = ktime_set(0, DFLL_TUNE_HIGH_DELAY * 1000);
td->tune_ramp_delay = ktime_set(0, td->one_shot_settle_time * 1000);