PD#150542: replace the magic number with msecs_to_jiffies.
Change-Id: I071da655a9ea3edf496fca65dc67167145ccc167
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
tsync_av_dynamic_timeout_ms =
jiffies_ms + tsync_av_dynamic_duration_ms;
}
- tsync_state_switch_timer.expires = jiffies + 20;
+ tsync_state_switch_timer.expires = jiffies + msecs_to_jiffies(200);
add_timer(&tsync_state_switch_timer);
}
init_timer(&tsync_state_switch_timer);
tsync_state_switch_timer.function = tsync_state_switch_timer_fun;
- tsync_state_switch_timer.expires = jiffies + 1;
+ tsync_state_switch_timer.expires = jiffies + msecs_to_jiffies(10);
add_timer(&tsync_state_switch_timer);
}