/* cp210x_get_termios Reads the baud rate, data bits, parity, stop bits and flow control mode from the device, corrects any unsupported values, and configures the termios structure to reflect the state of the device  */
static void cp210x_get_termios(struct tty_struct *, struct usb_serial_port *port)
/* cp210x_get_termios Reads the baud rate, data bits, parity, stop bits and flow control mode from the device, corrects any unsupported values, and configures the termios structure to reflect the state of the device  */
static void cp210x_get_termios(struct tty_struct *, struct usb_serial_port *port)
{
	unsigned int baud;
	if (tty) {
		cp210x_get_termios_port(tty->driver_data,
			&tty->termios->c_cflag, &baud);
		tty_encode_baud_rate(tty, baud, baud);
	}
	else {
		unsigned int cflag;
		cflag = 0;
		cp210x_get_termios_port(port, &cflag, &baud);
	}
}