diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-11 18:34:40 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-11 18:34:40 -0500 |
| commit | 0f4974c439dd7826c85bae4e6a8088ce2db0f498 (patch) | |
| tree | fdabc7d9bb7d7bc49aad547c0aac3a633ce01f09 /drivers/serial/jsm/jsm_tty.c | |
| parent | 3126c136bc30225d7a43af741778aa50e95e467a (diff) | |
| parent | 36ba782e9674cdc29ec7003757df0b375e99fa96 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (58 commits)
tty: split the lock up a bit further
tty: Move the leader test in disassociate
tty: Push the bkl down a bit in the hangup code
tty: Push the lock down further into the ldisc code
tty: push the BKL down into the handlers a bit
tty: moxa: split open lock
tty: moxa: Kill the use of lock_kernel
tty: moxa: Fix modem op locking
tty: moxa: Kill off the throttle method
tty: moxa: Locking clean up
tty: moxa: rework the locking a bit
tty: moxa: Use more tty_port ops
tty: isicom: fix deadlock on shutdown
tty: mxser: Use the new locking rules to fix setserial properly
tty: mxser: use the tty_port_open method
tty: isicom: sort out the board init logic
tty: isicom: switch to the new tty_port_open helper
tty: tty_port: Add a kref object to the tty port
tty: istallion: tty port open/close methods
tty: stallion: Convert to the tty_port_open/close methods
...
Diffstat (limited to 'drivers/serial/jsm/jsm_tty.c')
| -rw-r--r-- | drivers/serial/jsm/jsm_tty.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/serial/jsm/jsm_tty.c b/drivers/serial/jsm/jsm_tty.c index 7439c0373620..cd95e215550d 100644 --- a/drivers/serial/jsm/jsm_tty.c +++ b/drivers/serial/jsm/jsm_tty.c | |||
| @@ -296,8 +296,6 @@ static void jsm_tty_close(struct uart_port *port) | |||
| 296 | bd->bd_ops->assert_modem_signals(channel); | 296 | bd->bd_ops->assert_modem_signals(channel); |
| 297 | } | 297 | } |
| 298 | 298 | ||
| 299 | channel->ch_old_baud = 0; | ||
| 300 | |||
| 301 | /* Turn off UART interrupts for this port */ | 299 | /* Turn off UART interrupts for this port */ |
| 302 | channel->ch_bd->bd_ops->uart_off(channel); | 300 | channel->ch_bd->bd_ops->uart_off(channel); |
| 303 | 301 | ||
| @@ -432,7 +430,7 @@ int __devinit jsm_tty_init(struct jsm_board *brd) | |||
| 432 | return 0; | 430 | return 0; |
| 433 | } | 431 | } |
| 434 | 432 | ||
| 435 | int __devinit jsm_uart_port_init(struct jsm_board *brd) | 433 | int jsm_uart_port_init(struct jsm_board *brd) |
| 436 | { | 434 | { |
| 437 | int i; | 435 | int i; |
| 438 | unsigned int line; | 436 | unsigned int line; |
| @@ -472,7 +470,7 @@ int __devinit jsm_uart_port_init(struct jsm_board *brd) | |||
| 472 | if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port)) | 470 | if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port)) |
| 473 | printk(KERN_INFO "jsm: add device failed\n"); | 471 | printk(KERN_INFO "jsm: add device failed\n"); |
| 474 | else | 472 | else |
| 475 | printk(KERN_INFO "Added device \n"); | 473 | printk(KERN_INFO "jsm: Port %d added\n", i); |
| 476 | } | 474 | } |
| 477 | 475 | ||
| 478 | jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n"); | 476 | jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n"); |
