mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-15 22:43:15 +01:00
[PATCH] Altix ioc4 serial - Arm the read timeout timer before the first read
Arm the read timeout timer before the first read. Signed-off-by: Patrick Gefre <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
68985e486b
commit
5b052d8bb3
1 file changed
+1
-1
@@ -838,7 +838,7 @@ static int inline port_init(struct ioc4_port *port)
|
||||
port->ip_tx_prod = readl(&port->ip_serial_regs->stcir) & PROD_CONS_MASK;
|
||||
writel(port->ip_tx_prod, &port->ip_serial_regs->stpir);
|
||||
port->ip_rx_cons = readl(&port->ip_serial_regs->srpir) & PROD_CONS_MASK;
|
||||
writel(port->ip_rx_cons, &port->ip_serial_regs->srcir);
|
||||
writel(port->ip_rx_cons | IOC4_SRCIR_ARM, &port->ip_serial_regs->srcir);
|
||||
|
||||
/* Disable interrupts for this 16550 */
|
||||
uart = port->ip_uart_regs;
|
||||
|
||||
Reference in new issue
Block a user