diff options
author | Eric Miao <eric.miao@linaro.org> | 2011-12-22 21:39:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-05 00:30:36 (GMT) |
commit | 995234da19b927f42722d796e8270384f33be11c (patch) | |
tree | 022d3696bb38afa1486b2962ba3f51458b35b21b /Documentation/filesystems/gfs2-glocks.txt | |
parent | 01f56abd089dd216e537817b61497c58bb66aab3 (diff) | |
download | linux-995234da19b927f42722d796e8270384f33be11c.tar.xz |
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 <fabio.estevam@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/filesystems/gfs2-glocks.txt')
0 files changed, 0 insertions, 0 deletions