mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 07:08:06 -04:00
serial: fsl_linflexuart: don't call uart_write_wakeup() twice
linflex_txint() calls linflex_transmit_buffer() which calls uart_write_wakeup(). So there is no point to repeat it in linflex_txint() again -- remove it. Cc: Stefan-gabriel Mirea <stefan-gabriel.mirea@nxp.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220124071430.14907-10-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7b9528c291
commit
d88812a8d6
@@ -217,10 +217,6 @@ static irqreturn_t linflex_txint(int irq, void *dev_id)
|
||||
}
|
||||
|
||||
linflex_transmit_buffer(sport);
|
||||
|
||||
if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
|
||||
uart_write_wakeup(sport);
|
||||
|
||||
out:
|
||||
spin_unlock_irqrestore(&sport->lock, flags);
|
||||
return IRQ_HANDLED;
|
||||
|
||||
Reference in New Issue
Block a user