[PATCH v4 08/16] serial: sh-sci: Update rx_trigger size for RZ/T2H RSCI

Biju posted 16 patches 6 days, 8 hours ago
There is a newer version of this series
[PATCH v4 08/16] serial: sh-sci: Update rx_trigger size for RZ/T2H RSCI
Posted by Biju 6 days, 8 hours ago
From: Biju Das <biju.das.jz@bp.renesas.com>

The RZ/T2H RSCI has 16-stage FIFO. Update rx_trigger size frm 15->16.
Currently, there is no user for RZ/T2H rx_trigger. However, the later
patch uses this variable.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
v4:
 * New patch.
---
 drivers/tty/serial/sh-sci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 8869c25eac95..ae76705baba9 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -3324,7 +3324,7 @@ static int sci_init_single(struct platform_device *dev,
 			sci_port->rx_trigger = 8;
 		break;
 	case SCI_PORT_RSCI:
-		sci_port->rx_trigger = 15;
+		sci_port->rx_trigger = 16;
 		break;
 	default:
 		sci_port->rx_trigger = 1;
-- 
2.43.0