tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
authorSherry Sun <sherry.sun@nxp.com>
Mon, 30 Jan 2023 06:44:44 +0000 (14:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jun 2023 09:12:17 +0000 (11:12 +0200)
commit17732fed852a3a50f8ceb92399c45a3f5e8a08a3
tree62fadd86a67473acab002fb3857b80ca9966bdf5
parent9bcac453890bf2c0ab5a7cefb407c0a9d6cbc4cb
tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms

[ Upstream commit 34ebb26f12a84b744f43c5c4869516f122a2dfaa ]

Add rx_watermark parameter for struct lpuart_port to make the receive
watermark configurable for different platforms.
No function changed.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20230130064449.9564-2-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: a82c3df955f8 ("tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/fsl_lpuart.c