diff options
| author | Erwan Le Ray <erwan.leray@st.com> | 2019-05-21 17:45:43 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 09:58:29 +0200 |
| commit | 6c5962f30bce147b1c83869085f3ddde3b34c9e3 (patch) | |
| tree | 271cb4b5f46d1756134c5fd5a6894b9b35aa5691 /tools/perf/scripts/python | |
| parent | serial: stm32: fix rx error handling (diff) | |
| download | linux-6c5962f30bce147b1c83869085f3ddde3b34c9e3.tar.gz linux-6c5962f30bce147b1c83869085f3ddde3b34c9e3.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
