android_kernel_samsung_msm8976/drivers/tty/serial
Christophe JAILLET 60de168ef7 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
commit be40597a1bc173bf9dadccdf5388b956f620ae8f upstream.

UARTn_FRAME_PARITY_ODD is 0x0300
UARTn_FRAME_PARITY_EVEN is 0x0200
So if the UART is configured for EVEN parity, it would be reported as ODD.
Fix it by correctly testing if the 2 bits are set.

Fixes: 3afbd89c96 ("serial/efm32: add new driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2019-07-27 21:44:33 +02:00
..
8250 8250: use callbacks to access UART_DLL/UART_DLM 2016-06-07 10:42:46 +02:00
cpm_uart
jsm
21285.c
68328serial.c
Kconfig Remove GENERIC_HARDIRQ config option 2014-02-07 13:49:47 -08:00
Makefile
altera_jtaguart.c
altera_uart.c
amba-pl010.c
amba-pl011.c
apbuart.c
apbuart.h
ar933x_uart.c
arc_uart.c
atmel_serial.c tty/serial: at91: Handle shutdown more safely 2014-02-06 11:08:14 -08:00
bcm63xx_uart.c
bfin_sport_uart.c
bfin_sport_uart.h
bfin_uart.c
clps711x.c
crisv10.c
crisv10.h
dz.c
dz.h
efm32-uart.c serial: efm32: Fix parity management in 'efm32_uart_console_get_options()' 2019-07-27 21:44:33 +02:00
icom.c
icom.h
ifx6x60.c
ifx6x60.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
kgdb_nmi.c
kgdboc.c
lantiq.c
lpc32xx_hs.c
m32r_sio.c
m32r_sio.h
m32r_sio_reg.h
max310x.c
max3100.c
mcf.c
mfd.c
mpc52xx_uart.c
mpsc.c
mrst_max3110.c
mrst_max3110.h
msm_serial.c tty: serial: msm: Fix module autoload 2019-07-27 21:43:55 +02:00
msm_serial.h
msm_serial_hs.c msm_serial_hs: ensure system stays awake when client is active 2015-05-21 18:41:47 -06:00
msm_serial_hs_hwreg.h msm_serial_hs: Modify the PM ioctl 2014-07-30 10:26:08 -06:00
msm_serial_hs_lite.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
msm_smd_tty.c msm: ipc_logging: add client version support 2014-05-27 13:56:54 -06:00
mux.c
mxs-auart.c arch: Mass conversion of smp_mb__*() 2014-08-15 11:45:28 -07:00
netx-serial.c
nwpserial.c
of_serial.c serial: of-serial: Remove device_type = "serial" registration 2015-05-13 05:15:41 -07:00
omap-serial.c
pch_uart.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
rp2.c
sa1100.c
samsung.c serial: samsung: Reorder the sequence of clock control when call s3c24xx_serial_set_termios() 2016-06-07 10:42:55 +02:00
samsung.h
sb1250-duart.c
sc26xx.c
sccnxp.c
serial-tegra.c
serial_core.c This is the 3.10.67 stable release 2015-04-24 18:04:40 -07:00
serial_ks8695.c
serial_txx9.c
sh-sci.c
sh-sci.h
sirfsoc_uart.c
sirfsoc_uart.h
sn_console.c
suncore.c
sunhv.c
sunsab.c sunsab: Fix detection of BREAK on sunsab serial console 2014-08-14 09:24:16 +08:00
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
timbuart.c
timbuart.h
uartlite.c
ucc_uart.c
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c
zs.c
zs.h