Loading drivers/tty/serial/msm_serial_hs.c +1 −3 Original line number Diff line number Diff line Loading @@ -1388,12 +1388,11 @@ static void msm_hs_submit_tx_locked(struct uart_port *uport) int ret; if (uart_circ_empty(tx_buf) || uport->state->port.tty->stopped) { tx->dma_in_flight = false; msm_hs_stop_tx_locked(uport); return; } tx->dma_in_flight = true; tx_count = uart_circ_chars_pending(tx_buf); if (UARTDM_TX_BUF_SIZE < tx_count) Loading Loading @@ -1872,7 +1871,6 @@ static void msm_serial_hs_tx_work(struct kthread_work *work) else MSM_HS_DBG("%s:circ buffer is empty\n", __func__); tx->dma_in_flight = false; wake_up(&msm_uport->tx.wait); uport->icount.tx += tx->tx_count; Loading Loading
drivers/tty/serial/msm_serial_hs.c +1 −3 Original line number Diff line number Diff line Loading @@ -1388,12 +1388,11 @@ static void msm_hs_submit_tx_locked(struct uart_port *uport) int ret; if (uart_circ_empty(tx_buf) || uport->state->port.tty->stopped) { tx->dma_in_flight = false; msm_hs_stop_tx_locked(uport); return; } tx->dma_in_flight = true; tx_count = uart_circ_chars_pending(tx_buf); if (UARTDM_TX_BUF_SIZE < tx_count) Loading Loading @@ -1872,7 +1871,6 @@ static void msm_serial_hs_tx_work(struct kthread_work *work) else MSM_HS_DBG("%s:circ buffer is empty\n", __func__); tx->dma_in_flight = false; wake_up(&msm_uport->tx.wait); uport->icount.tx += tx->tx_count; Loading