Re: [PATCH] USB: ftdi_sio: Remove tty->low_latency.

From: Alan Cox
Date: Sat Oct 03 2009 - 09:08:01 EST


On Fri, 02 Oct 2009 16:00:41 -0700
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:

>
>
> I have seen a hang in:
> /bin/stty (changing the baud rate)
> set_termios
> tty_wait_until_sent
> tty_chars_in_buffer
> ftdi_chars_in_buffer
>
> Where the driver wedged for a serial port and no progress
> was made.
>
> This happened to me several times with 2.6.31. My initial
> hypothesis was this was a hardware error (as it only happened
> on single piece of hardware). With all of the driver problems
> I suspect it could be a driver bug.

Driver bug I would think - or setup. If you've genuinely got the port
flow controlled then a request to set the termios after the I/O will wait
until a signal or carrier change (or indeed forever) quite correctly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/