Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f965b9c4 authored by Matt Schulte's avatar Matt Schulte Committed by Greg Kroah-Hartman
Browse files

serial: Add initialization of sampling mode and tx/rx triggers to pci_xr17v35x_setup



Add initialization of sampling mode and tx/rx triggers to pci_xr17v35x_setup

Signed-off-by: default avatarMatt Schulte <matts@commtech-fastcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7a7e14f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1192,6 +1192,10 @@ pci_xr17v35x_setup(struct serial_private *priv,
		writeb(0x00, p + 0x99); /*MPIOSEL[15:8]*/
		writeb(0x00, p + 0x9a); /*MPIOOD[15:8]*/
	}
	writeb(0x00, p + UART_EXAR_8XMODE);
	writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR);
	writeb(128, p + UART_EXAR_TXTRG);
	writeb(128, p + UART_EXAR_RXTRG);
	iounmap(p);

	return pci_default_setup(priv, board, port, idx);