Re: [PATCH V8 07/10] USB: f81232: implement set_termios()

2015-03-14 Thread Johan Hovold
On Thu, Feb 26, 2015 at 06:02:13PM +0800, Peter Hung wrote: > f81232_set_baudrate() is also changed from V7. Add error handling when LCR get > failed or set LCR UART_LCR_DLAB failed. and older version, divisor is declared > with u8, it's will make failed with baudrate lower than 600 (115200/300=38

[PATCH V8 07/10] USB: f81232: implement set_termios()

2015-02-26 Thread Peter Hung
The original driver had do not any h/w change in driver. This patch implements with configure H/W for baud/parity/word length/stop bits functional in f81232_set_termios(). This patch also implement DTR/RTS control when baudrate B0. We drop DTR/RTS when B0, otherwise enable it. We are checking bau