Commit 75b76b47 authored by Ashvini Varatharaj's avatar Ashvini Varatharaj Committed by Greg Kroah-Hartman
Browse files

Staging: speakup: removing jiffies comparison using time_after_eq()

Fix checkpatch warning:  Comparing jiffies is almost always wrong;
prefer time_after, time_before and friends
Signed-off-by: default avatarAshvini Varatharaj <>
Reviewed-by: default avatarPeter P Waskiewicz Jr <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 2ef9d838
......@@ -223,7 +223,7 @@ static void do_catch_up(struct spk_synth *synth)
if (ch == '\n')
outb_p(ch, speakup_info.port_tts);
if (jiffies >= jiff_max && ch == SPACE) {
if (time_after_eq(jiffies, jiff_max) && ch == SPACE) {
while (synth_writable()) {
if (!--timeout)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment