]> git.karo-electronics.de Git - karo-tx-linux.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)
commit5ab066e5465b2984a45e205f33896b2ec1620c37
tree454dc7b7d1dcf44dc47107b1fe751c66bbe7cba9
parent1c9c858e2ff8ae8024a3d75d2ed080063af43754
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