From: Uwe Kleine-König Date: Thu, 4 Jul 2013 09:28:51 +0000 (+0200) Subject: serial/mxs-auart: fix race condition in interrupt handler X-Git-Tag: v3.11-rc4~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d970d7fe65adff5efe75b4a73c4ffc9be57089f7;p=pandora-kernel.git serial/mxs-auart: fix race condition in interrupt handler The handler needs to ack the pending events before actually handling them. Otherwise a new event might come in after it it considered non-pending or handled and is acked then without being handled. So this event is only noticed when the next interrupt happens. Without this patch an i.MX28 based machine running an rt-patched kernel regularly hangs during boot. Cc: stable@vger.kernel.org # v2.6.39+ Signed-off-by: Uwe Kleine-König Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed