diff options
author | Ye Li <ye.li@nxp.com> | 2017-09-13 21:48:28 -0500 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2017-11-03 02:37:17 +0800 |
commit | b949b7c8dc5492dd08a2e2828fc686bd190ea094 (patch) | |
tree | 925026108d5351548d0146bb61f895e950765427 | |
parent | e6132083a241a0b92aa7cfcf600d581a926af3da (diff) |
MLK-16467 serial_lpuart: Fix FIFO_RXFE definition in LPUART driver
Accroding to RM, the Receive FIFO Enable (RXFE) field in LPUART FIFO register
is bit 3, so the definition should change to 0x08 not 0x40.
Otherwise the Receive FIFO is not disabled.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | drivers/serial/serial_lpuart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index 6bb8b083e30..0edff6a8e5c 100644 --- a/drivers/serial/serial_lpuart.c +++ b/drivers/serial/serial_lpuart.c @@ -42,7 +42,7 @@ #define CTRL_RE (1 << 18) #define FIFO_TXFE 0x80 -#define FIFO_RXFE 0x40 +#define FIFO_RXFE 0x08 #define WATER_TXWATER_OFF 1 #define WATER_RXWATER_OFF 16 |