serial: mxs-auart: support CMSPAR termios cflag
authorWolfgang Ocker <weo@reccoware.de>
Mon, 12 Dec 2016 07:21:01 +0000 (08:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:51:24 +0000 (11:51 +0100)
commitf87fa71e6fb0fa7bade9c3f3bb3f49325e76a90a
tree256e0f5e83f7f3f1e7974561167ebd8cede905ad
parent11652fc7b7e381a8d886ae1393e00512b71fe17d
serial: mxs-auart: support CMSPAR termios cflag

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 <weo@reccoware.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c