From: Paul Mundt Date: Thu, 20 Jan 2011 14:30:19 +0000 (+0900) Subject: serial: sh-sci: Fix up break timer scheduling race. X-Git-Tag: v2.6.39-rc1~456^2~17^3~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc9b3f5c9f3702e71066a4de0afe509a201d98b4;p=pandora-kernel.git serial: sh-sci: Fix up break timer scheduling race. The break flag timer is presently added through add_timer() via the interrupt and error paths, where it is possible to send multiple breaks in rapid succession and trigger the timer pending BUG_ON(). This moves over to a mod_timer() instead. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed