mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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: Matt Schulte <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
b7a7e14f65
commit
f965b9c46b
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue