]> git.baikalelectronics.ru Git - kernel.git/commit
serial: st-asc: Ignore the parity error bit if 8-bit mode is enabled
authorLee Jones <lee.jones@linaro.org>
Fri, 3 Feb 2017 10:23:10 +0000 (10:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2017 08:47:52 +0000 (09:47 +0100)
commitc1cafd9e935ee8b2d8218bcffe3324b60190f7e0
tree454dc7b7d1dcf44dc47107b1fe751c66bbe7cba9
parent52d9cd899a296f139e6c655f309da8094f7552d0
serial: st-asc: Ignore the parity error bit if 8-bit mode is enabled

The datasheet states:

"If the MODE field selects an 8-bit frame then this [parity error] bit
 is undefined. Software should ignore this bit when reading 8-bit frames."

Acked-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/st-asc.c