/shark/trunk/drivers/usb/serial/pl2303.c |
---|
259,9 → 259,8 |
spin_lock_irqsave(&priv->lock, flags); |
if (!priv->termios_initialized) { |
printk(KERN_INFO "@####### termios initializated\n"); |
*(port->tty->termios) = tty_std_termios; |
port->tty->termios->c_cflag = B38400 | CS8 | CREAD | HUPCL | CLOCAL; |
port->tty->termios->c_cflag = B4800 | CS8 | CREAD | HUPCL | CLOCAL; |
priv->termios_initialized = 1; |
} |
436,7 → 435,6 |
/* Setup termios */ |
if (port->tty) { |
printk(KERN_INFO "#####@ set termios"); |
pl2303_set_termios (port, &tmp_termios); |
} |