diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2022-12-04 20:58:45 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 14:34:02 +0100 |
commit | 9e1d1d8e76625d3689505d56ad2e8af49b37944b (patch) | |
tree | bb72ce6fe9e158b09361025f30d728dcb48eea9b /drivers/s390/char | |
parent | f8674930891b5d8d8c62246a8d22f096f4b02632 (diff) | |
download | linux-next-9e1d1d8e76625d3689505d56ad2e8af49b37944b.tar.gz |
s390/con3270: use msecs_to_jiffies()
Use msecs_to_jiffies() instead of HZ/10.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r-- | drivers/s390/char/con3270.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |