From 9e1d1d8e76625d3689505d56ad2e8af49b37944b Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sun, 4 Dec 2022 20:58:45 +0100 Subject: [PATCH] s390/con3270: use msecs_to_jiffies() Use msecs_to_jiffies() instead of HZ/10. Signed-off-by: Sven Schnelle Acked-by: Heiko Carstens Signed-off-by: Heiko Carstens --- drivers/s390/char/con3270.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/char/con3270.c b/drivers/s390/char/con3270.c index 9a485147b142..dce4030d0df6 100644 --- a/drivers/s390/char/con3270.c +++ b/drivers/s390/char/con3270.c @@ -1769,7 +1769,7 @@ static void tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, } /* Setup timer to update display after 1/10 second */ if (!timer_pending(&tp->timer)) - tty3270_set_timer(tp, HZ/10); + tty3270_set_timer(tp, msecs_to_jiffies(100)); spin_unlock_irq(&tp->view.lock); } -- 2.11.0