From: Uwe Kleine-König Date: Mon, 11 Apr 2011 08:59:09 +0000 (+0200) Subject: serial/imx: read cts state only after acking cts change irq X-Git-Tag: v2.6.39-rc5~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5680e94148a86e8c31fdc5cb0ea0d5c6810c05b0;p=pandora-kernel.git serial/imx: read cts state only after acking cts change irq If cts changes between reading the level at the cts input (USR1_RTSS) and acking the irq (USR1_RTSD) the last edge doesn't generate an irq and uart_handle_cts_change is called with a outdated value for cts. The race was introduced by commit ceca629 ([ARM] 2971/1: i.MX uart handle rts irq) Reported-by: Arwed Springer Tested-by: Arwed Springer Cc: stable@kernel.org # 2.6.14+ Signed-off-by: Uwe Kleine-König Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed