mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "serial: msm_geni_serial: Correct start rx sequence"
This commit is contained in:
commit
ab3fb357dd
1 changed files with 4 additions and 4 deletions
|
|
@ -1348,14 +1348,14 @@ static void start_rx_sequencer(struct uart_port *uport)
|
|||
msm_geni_serial_stop_rx(uport);
|
||||
}
|
||||
|
||||
/* Start RX with the RFR_OPEN to keep RFR in always ready state */
|
||||
msm_geni_serial_enable_interrupts(uport);
|
||||
geni_setup_s_cmd(uport->membase, UART_START_READ, geni_se_param);
|
||||
|
||||
if (port->xfer_mode == SE_DMA)
|
||||
geni_se_rx_dma_start(uport->membase, DMA_RX_BUF_SIZE,
|
||||
&port->rx_dma);
|
||||
|
||||
/* Start RX with the RFR_OPEN to keep RFR in always ready state */
|
||||
geni_setup_s_cmd(uport->membase, UART_START_READ, geni_se_param);
|
||||
msm_geni_serial_enable_interrupts(uport);
|
||||
|
||||
/* Ensure that the above writes go through */
|
||||
mb();
|
||||
geni_status = geni_read_reg_nolog(uport->membase, SE_GENI_STATUS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue