diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-08-11 11:46:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 17:08:48 -0700 |
commit | df57cf6a879502cd6e5559c1f2d6db12128e074f (patch) | |
tree | e4988c9a2c427a351a33d7a4435803c5f60c1db7 /drivers/tty/serial/8250/8250_pnp.c | |
parent | 17dc72cf3d8c6284cc34f29627f891268af07a55 (diff) | |
download | linux-df57cf6a879502cd6e5559c1f2d6db12128e074f.tar.bz2 |
serial: mxs-auart: fix baud rate range
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>
Diffstat (limited to 'drivers/tty/serial/8250/8250_pnp.c')
0 files changed, 0 insertions, 0 deletions