Blackfin Serial Driver: Remove useless stop
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c9607ecc6e
commit
08668ab7c2
@@ -320,9 +320,6 @@ static void bfin_serial_tx_chars(struct bfin_serial_port *uart)
|
|||||||
|
|
||||||
if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
|
if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
|
||||||
uart_write_wakeup(&uart->port);
|
uart_write_wakeup(&uart->port);
|
||||||
|
|
||||||
if (uart_circ_empty(xmit))
|
|
||||||
bfin_serial_stop_tx(&uart->port);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static irqreturn_t bfin_serial_rx_int(int irq, void *dev_id)
|
static irqreturn_t bfin_serial_rx_int(int irq, void *dev_id)
|
||||||
|
Reference in New Issue
Block a user