summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2015-08-11 11:46:01 +0000
committerBen Hutchings <ben@decadent.org.uk>2017-07-18 18:40:27 +0100
commitc7c3271648c480c81a7eed201c4ff45a46cec8d8 (patch)
tree3ee859477f0f450962caf97ab8ce1712ad452ac1 /include/linux
parent9af42458ddd538e10b1ba6d040b644a3bedc4547 (diff)
serial: mxs-auart: fix baud rate range
commit df57cf6a879502cd6e5559c1f2d6db12128e074f upstream. Currently mxs-auart doesn't care correctly about the baud rate divisor. According to reference manual the baud rate divisor must be between 0x000000EC and 0x003FFFC0. So calculate the possible baud rate range and use it for uart_get_baud_rate(). Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions