Small fixes for jsm driver
commit3c04c27251c4d064f16846c305cbc1ff2f5b5fbe
authorLen Sorensen <lsorense@csclub.uwaterloo.ca>
Tue, 8 May 2007 07:26:30 +0000 (8 00:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:03 +0000 (8 11:15 -0700)
treeade42ebf24d88d4b9ce6f8d4d16a72ced20a745a
parent1a86b5e34e4d09e3246a983c53929ce38af52275
Small fixes for jsm driver

The jsm driver fails when you try to use the TIOCSSERIAL ioctl.  The reason
is that the driver never sets uart_port.uartclk, causing the data received
using TIOCGSERIAL to not match the internal state of the driver.  This
patch fixes this problem by settings the uartclk to the value used by the
serial_core (16 times the baud base).

Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Scott H Kilau <Scott_Kilau@digi.com>
Cc: Wendy Xiong <wendyx@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/jsm/jsm_tty.c