MLK-17491-3 serial: fsl_lpuart: lpuart32_serial_setbrg cleanup and handle error
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 5 Sep 2017 09:06:29 +0000 (17:06 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:54:22 +0000 (14:54 -0500)
commit39acdda023e855c59106ee046ef16eb6a0866f48
tree0107b05956df4796fa52598af846f5523ba40aa4
parent685401356afb12cbe8c2102fad49565e25cdce40
MLK-17491-3 serial: fsl_lpuart: lpuart32_serial_setbrg cleanup and handle error

1) Add code comments for the algorithm idea
2) code cleanups
3) Give a warn one find unacceptable baud rate difference of more
than 3%

No function level change.

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/tty/serial/fsl_lpuart.c