aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ttyprintk.c
diff options
context:
space:
mode:
authorAndy Duan <fugang.duan@nxp.com>2018-10-16 07:32:22 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-09 08:48:57 -0800
commit397bd9211fe014b347ca8f95a8f4e1017bac1aeb (patch)
treee2a0384924a3bf57abf50bca5726a371b7d2a411 /drivers/char/ttyprintk.c
parentserial: fsl_lpuart: fix the typo: UARTCR1_PE -> UARTCTRL_PE (diff)
downloadlinux-dev-397bd9211fe014b347ca8f95a8f4e1017bac1aeb.tar.xz
linux-dev-397bd9211fe014b347ca8f95a8f4e1017bac1aeb.zip
serial: fsl_lpuart: clear parity enable bit when disable parity
Current driver only enable parity enable bit and never clear it when user set the termios. The fix clear the parity enable bit when PARENB flag is not set in termios->c_cflag. Cc: Lukas Wunner <lukas@wunner.de> Signed-off-by: Andy Duan <fugang.duan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/ttyprintk.c')
0 files changed, 0 insertions, 0 deletions