serial: bfin_5xx: grab port lock before making port termios changes
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 27 Oct 2010 08:16:50 +0000 (04:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Nov 2010 19:06:08 +0000 (11:06 -0800)
commit5bb06b62bc445eed66fb256c3b5f86e5911797e4
tree751fa5cd54bb8f4eb0684635b7ed1ac7f9ffbcf9
parent6d9e44986891345636e2d6069c4ae1612b2337d4
serial: bfin_5xx: grab port lock before making port termios changes

The port lock exists to protect these resources, so we need to grab it
before making changes.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/bfin_5xx.c