Re: [PATCH v2 3/4] usb: serial: implement function for F81232
Hello, I'll do it later depend on this series patchs to be accpeted or rejected. Thanks for your advice One Thousand Gnomes 於 2015/1/21 下午 10:41 寫道: + if (cflag PARENB) { + if (cflag PARODD) + new_lcr |= UART_LCR_PARITY; /* odd */ +
Re: [PATCH v2 3/4] usb: serial: implement function for F81232
+ if (cflag PARENB) { + if (cflag PARODD) + new_lcr |= UART_LCR_PARITY; /* odd */ + else + new_lcr |= SERIAL_EVEN_PARITY; /* even */ + } If you don't support mark/space also clear CMSPAR in the passed termios -