serial/aspeed-vuart: fix a couple mod_timer() calls
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Apr 2018 05:50:55 +0000 (08:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:51:11 +0000 (13:51 +0200)
commita451debb4173bfe3b06d2ac926c4903eadc236d4
treebfcb89febfe9a73b9d2ca3b5ad9a1b2631cd9050
parent8afb1d2c12163f77777f84616a8e9444d0050ebe
serial/aspeed-vuart: fix a couple mod_timer() calls

The "unthrottle_timeout" is HZ/10 but mod_timer() takes a the actual
jiffie where you want it to timeout, not an offset.

Fixes: 5909c0bf9c7a ("serial/aspeed-vuart: Implement quick throttle mechanism")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_aspeed_vuart.c