From: Stephen Warren Date: Tue, 17 May 2011 22:12:37 +0000 (-0600) Subject: tty/serial: Fix break handling for PORT_TEGRA X-Git-Tag: v3.0-rc1~338^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f873bae704cf8b7cbd64b5720912266286c9146;p=pandora-kernel.git tty/serial: Fix break handling for PORT_TEGRA When a break is received, Tegra's UART apparently fills the FIFO with 0 bytes. These must be drained so that they aren't interpreted as actual data received. This allows e.g. MAGIC_SYSRQ to work on Tegra's UARTs. v2: Added FIXME comment to clear_rx_fifo Originally-by: Laxman Dewangan Cc: Laxman Dewangan Signed-off-by: Stephen Warren Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed