summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-09-05 16:16:01 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:29 +0800
commitae5bed4ae61577ab66535a58f09df02aa77af987 (patch)
tree831962a303f259647b444ef122c6909ae700e163 /drivers/tty
parent5e7ce6e5d30d51460a05238ccd58d1e6e8b2aa23 (diff)
MLK-17491-1 serial: fsl_lpuart: fix the invalid comments
This part of code is derived from Kinetis and is obviously invalid for ULP, So delete it to avoid confusing. Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/fsl_lpuart.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 0e8cebbde2e3..8d7c809cf3a9 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -1822,14 +1822,6 @@ lpuart32_serial_setbrg(struct lpuart_port *sport, unsigned int baudrate)
}
}
- /*TODO handle buadrate outside acceptable rate
- * if (baudDiff > ((config->baudRate_Bps / 100) * 3))
- * {
- * Unacceptable baud rate difference of more than 3%
- * return kStatus_LPUART_BaudrateNotSupport;
- * }
- *
- */
tmp = lpuart32_read(&sport->port, UARTBAUD);
if ((osr > 3) && (osr < 8))