aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorEric Miao <[email protected]>2011-12-22 21:39:27 +0000
committerGreg Kroah-Hartman <[email protected]>2012-01-05 00:30:36 +0000
commit995234da19b927f42722d796e8270384f33be11c (patch)
tree022d3696bb38afa1486b2962ba3f51458b35b21b /drivers/usb/class/cdc-acm.c
parentimx: add polled io uart methods (diff)
downloadkernel-995234da19b927f42722d796e8270384f33be11c.tar.gz
kernel-995234da19b927f42722d796e8270384f33be11c.zip
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 <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Eric Miao <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions