imx: serial: notify higher layers in case xmit IRQ was not called
authorFabian Godehardt <fg@emlix.com>
Thu, 11 Jun 2009 13:37:19 +0000 (14:37 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:08 +0000 (08:51 -0700)
commit977757311e50dc5d832c9fef34e7555411f7ccd8
tree595e42d3a11c5067b70daba2b72e279b63009224
parent26bbb3ff1ff6163d6a233055766e26af8054a212
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: Fabian Godehardt <fg@emlix.com>
Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/imx.c