projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f867493
)
s390/con3270: use msecs_to_jiffies()
author
Sven Schnelle
<svens@linux.ibm.com>
Sun, 4 Dec 2022 19:58:45 +0000
(20:58 +0100)
committer
Heiko Carstens
<hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:02 +0000
(14:34 +0100)
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>
drivers/s390/char/con3270.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/con3270.c
b/drivers/s390/char/con3270.c
index 9a485147b14252c3be200defe380b85849a3d999..dce4030d0df63f2bf8902849af53b39ae5a6ad54 100644
(file)
--- 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);
}