aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-04-18 11:33:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-19 13:24:13 -0400
commitb6fd35ee5766143d6bc3c333edf374c336ebdca6 (patch)
treed83304cfaf72bf36654e38e618c704bebc954bbd
parentac9e59cad7b0b699b2aa9a104eb22ed67a560e02 (diff)
USB: io_ti: fix TIOCGSERIAL
Fix regression introduced by commit f40d78155 ("USB: io_ti: kill custom closing_wait implementation") which made TIOCGSERIAL return the wrong value for closing_wait. Signed-off-by: Johan Hovold <jhovold@gmail.com> Cc: stable <stable@vger.kernel.org> # 3.9 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/serial/io_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index f2a1601775b1..ab979a2e6953 100644
--- a/drivers/usb/serial/io_ti.c
+++ b/drivers/usb/serial/io_ti.c
@@ -2357,7 +2357,7 @@ static int get_serial_info(struct edgeport_port *edge_port,
2357 2357
2358 cwait = edge_port->port->port.closing_wait; 2358 cwait = edge_port->port->port.closing_wait;
2359 if (cwait != ASYNC_CLOSING_WAIT_NONE) 2359 if (cwait != ASYNC_CLOSING_WAIT_NONE)
2360 cwait = jiffies_to_msecs(closing_wait) / 10; 2360 cwait = jiffies_to_msecs(cwait) / 10;
2361 2361
2362 memset(&tmp, 0, sizeof(tmp)); 2362 memset(&tmp, 0, sizeof(tmp));
2363 2363