commit | 1afcf9cb25d4db2c2dd320eb93f463c55cdad040 | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Thu Jun 08 09:26:55 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 12 08:38:38 2017 -0400 |
tree | b133f174cb34b4cea9a929a31f5a980012de0739 | |
parent | 1113ad49dce7d56429c6ad37738d06e7aef21fac [diff] |
serial: stm32x7: simplify baud rate register calculation Simplify baud rate register formula and use the oversampling uart feature. This code is aligned with what is implemented in kernel driver drivers/tty/serial/stm32-usart.c since kernel v4.9. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Christophe KERELLO <christophe.kerello@st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>