Home
last modified time | relevance | path

Searched hist:"6 c5962f30bce147b1c83869085f3ddde3b34c9e3" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dstm32-usart.hdiff 6c5962f30bce147b1c83869085f3ddde3b34c9e3 Tue May 21 10:45:43 CDT 2019 Erwan Le Ray <erwan.leray@st.com> 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>
H A Dstm32-usart.cdiff 6c5962f30bce147b1c83869085f3ddde3b34c9e3 Tue May 21 10:45:43 CDT 2019 Erwan Le Ray <erwan.leray@st.com> 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>