summaryrefslogtreecommitdiff
path: root/drivers/tty/moxa.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-04-07 13:23:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-07 18:22:07 +0300
commitc33a63e8dd915823e47a330f90f5a7ccf006f2ab (patch)
treeb2b295e5b91f8c40e5b323d4e447b7189637238d /drivers/tty/moxa.c
parent1d31a831cc04f5f942de3e7d91edaa52310d3c99 (diff)
downloadlinux-c33a63e8dd915823e47a330f90f5a7ccf006f2ab.tar.xz
tty: amiserial: add missing TIOCSSERIAL jiffies conversions
The tty-port close_delay and closing_wait parameters set by TIOCSSERIAL are specified in jiffies, while the values returned by TIOCGSERIAL are specified in centiseconds. Add the missing conversions so that TIOCSSERIAL works as expected also if this code is ever reused on a system where HZ is not 100. Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20210407102334.32361-10-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/moxa.c')
0 files changed, 0 insertions, 0 deletions