]> git.baikalelectronics.ru Git - kernel.git/commit
Small fixes for jsm driver
authorLen Sorensen <lsorense@csclub.uwaterloo.ca>
Tue, 8 May 2007 07:26:30 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:03 +0000 (11:15 -0700)
commitd580447442db631d5212208b4bb0be89a3eb8bcc
treeade42ebf24d88d4b9ce6f8d4d16a72ced20a745a
parent5c8f18d89b92cdfdecd5e921a10a7d150c819bfb
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