From: Eric Miao Date: Thu, 22 Dec 2011 21:39:27 +0000 (+0800) Subject: tty: serial: imx: move del_timer_sync() to avoid potential deadlock X-Git-Tag: v3.3-rc1~154^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995234da19b927f42722d796e8270384f33be11c;p=pandora-kernel.git tty: serial: imx: move del_timer_sync() to avoid potential deadlock del_timer_sync() acquires its own lock and doesn't have to be nested within the spinlock of sport->port.lock in imx_set_termios(), which will cause potential deadlock. Fix this by moving it outside. Cc: Fabio Estevam Cc: Shawn Guo Cc: Sascha Hauer Cc: Greg Kroah-Hartman Signed-off-by: Eric Miao Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed