Re: [PATCH V6 08/10] USB: f81232: fix read MSR strange value

2015-02-23 Thread Peter Hung
Hello, Johan Hovold 於 2015/2/17 下午 05:51 寫道: So we add more check not only UART_MSR_ANY_DELTA but also with comparing DCD/RI/DSR/CTS change with old value. Due to the state bit is always correct, we direct save msr when read. The following step to reproduce this problem with while loop step 1~

Re: [PATCH V6 08/10] USB: f81232: fix read MSR strange value

2015-02-17 Thread Johan Hovold
On Mon, Feb 16, 2015 at 03:58:00PM +0800, Peter Hung wrote: > When we use RS232 loopback, assume doing RTS change will cause > CTS change, DTR change will cause DCD/DSR change too. > > Sometimes we got 7~4 bits of MSR changed but the 3~0 bits of > MSR(delta) maybe not changed when set & get MCR fa

[PATCH V6 08/10] USB: f81232: fix read MSR strange value

2015-02-16 Thread Peter Hung
When we use RS232 loopback, assume doing RTS change will cause CTS change, DTR change will cause DCD/DSR change too. Sometimes we got 7~4 bits of MSR changed but the 3~0 bits of MSR(delta) maybe not changed when set & get MCR fasterly. So we add more check not only UART_MSR_ANY_DELTA but also wit