commit | 6c5962f30bce147b1c83869085f3ddde3b34c9e3 | [log] [tgz] |
---|---|---|
author | Erwan Le Ray <erwan.leray@st.com> | Tue May 21 17:45:43 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 24 09:58:29 2019 +0200 |
tree | 271cb4b5f46d1756134c5fd5a6894b9b35aa5691 | |
parent | 4f01d833fdcdd6f9b85d9e5d5d7568eb683626a7 [diff] |
serial: stm32: fix rx data length when parity enabled - Fixes a rx data error when data length < 8 bits and parity is enabled. RDR register MSB is used for parity bit reception. - Adds a mask to ignore MSB when data is get from RDR. Fixes: 3489187204eb ("serial: stm32: adding dma support") Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>