aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_dtlk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/speakup/speakup_dtlk.c')
-rw-r--r--drivers/staging/speakup/speakup_dtlk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup_dtlk.c b/drivers/staging/speakup/speakup_dtlk.c
index d7d515273896..4e059ea78d4c 100644
--- a/drivers/staging/speakup/speakup_dtlk.c
+++ b/drivers/staging/speakup/speakup_dtlk.c
@@ -231,7 +231,7 @@ static void do_catch_up(struct spk_synth *synth)
if (ch == '\n')
ch = PROCSPEECH;
spk_out(ch);
- if ((jiffies >= jiff_max) && (ch == SPACE)) {
+ if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) {
spk_out(PROCSPEECH);
spin_lock_irqsave(&speakup_info.spinlock, flags);
delay_time_val = delay_time->u.n.value;