Commit 97775731 authored by Fabian Godehardt's avatar Fabian Godehardt Committed by Linus Torvalds
Browse files

imx: serial: notify higher layers in case xmit IRQ was not called

upper layers, namely line discipline, need to be notified
when transmission of more data is possible. For spurious
cases, where IRQ handling does not supply notification
for sure, it is given additionally here, when data has just
been transmitted and space in the buffer will most probably
be available.
Signed-off-by: default avatarFabian Godehardt <>
Signed-off-by: default avatarOskar Schirmer <>
Signed-off-by: default avatarAlan Cox <>
Signed-off-by: default avatarLinus Torvalds <>
parent 26bbb3ff
......@@ -308,6 +308,9 @@ static inline void imx_transmit_buffer(struct imx_port *sport)
if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
if (uart_circ_empty(xmit))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment