]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Sat, 26 Aug 2023 12:23:29 +0000 (14:23 +0200)
commit701bb5fee7c3e1a22793ce872d81fbf56440756c
tree933eeebce7177f48bc5c0ba4f3da3717aa038092
parentfa254ab7d02d52271187eccfea82f8b17771a78a
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