From: Seth Bollinger Date: Tue, 25 Mar 2014 17:55:37 +0000 (-0500) Subject: serial_core: Fix conditional start_tx on ring buffer not empty X-Git-Tag: omap-for-v3.16/pm-signed~81^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717f3bbab3c7628736ef738fdbf3d9a28578c26c;p=pandora-kernel.git serial_core: Fix conditional start_tx on ring buffer not empty If the serial_core ring buffer empties just as the tty layer receives an XOFF, then start_tx will never be called when the tty layer receives an XON as the serial_core ring buffer is empty. This will possibly leave a few bytes trapped in the fifo for drivers that disable the transmitter when flow controlled. Signed-off-by: Seth Bollinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed