tty: serial: fsl_lpuart: use UARTMODIR register bits for lpuart32 platform
authorSherry Sun <sherry.sun@nxp.com>
Fri, 14 Apr 2023 02:21:11 +0000 (10:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 11:42:36 +0000 (13:42 +0200)
commitd57d56e4dddfb5c92cd81abf8922055bf0fb85a4
tree537102eec000d8f68c3a5980473001abce5c9e5b
parentf73fd750552524b06b5d77ebfdd106ccc8fcac61
tty: serial: fsl_lpuart: use UARTMODIR register bits for lpuart32 platform

For lpuart32 platforms, UARTMODIR register is used instead of UARTMODEM.
So here should configure the corresponding UARTMODIR register bits to
avoid confusion.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20230414022111.20896-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c