[PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-12-11 Thread Wolfgang Ocker
If CMSPAR is set in the c_cflag of termios, "stick" parity is enabled. Tested on an i.MX28 system Signed-off-by: Wolfgang Ocker --- v2: require PARENB to be also set in termios' c_cflag for CMSPAR --- drivers/tty/serial/mxs-auart.c | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-12-06 Thread Wolfgang Ocker
On Tue, 2016-12-06 at 14:36 +0100, Stefan Wahren wrote: > Hi Wolfgang, > > > --- a/drivers/tty/serial/mxs-auart.c > > +++ b/drivers/tty/serial/mxs-auart.c > > @@ -95,6 +95,7 @@ > >  #define AUART_LINECTRL_BAUD_DIVFRAC_SHIFT 8 > >  #define AUART_LINECTRL_BAUD_DIVFRAC_MASK 0x3f00 > >  #define

[PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-11-30 Thread Wolfgang Ocker
If CMSPAR is set in the c_cflag of termios, "stick" parity is enabled. Tested on an i.MX28 system Signed-off-by: Wolfgang Ocker --- drivers/tty/serial/mxs-auart.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/

[PATCH v2] mxs-auart: count FIFO overrun errors

2016-11-16 Thread Wolfgang Ocker
counting of overrun errors. Signed-off-by: Wolfgang Ocker --- v2: sent with git-send-email. Evolution changes a leading space to 0xa0 :( drivers/tty/serial/mxs-auart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c

[PATCH] mxs-auart: count FIFO overrun errors

2016-11-15 Thread Wolfgang Ocker
counting of overrun errors. Signed-off-by: Wolfgang Ocker ---  drivers/tty/serial/mxs-auart.c | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 770454e0dfa3..8c1c9112b3fd 100644 --- a/drivers/tty/serial/mxs-auart.c