]> git.baikalelectronics.ru Git - kernel.git/commit
dz: fix locking issues
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 7 Feb 2008 08:15:11 +0000 (00:15 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:24 +0000 (08:42 -0800)
commitd3dc12f928982b2c9770fa25960020c8f36ed389
tree00e55a9babe058feef7065621f12c63dd493ff07
parent36dead6ba9a3d018533ab58d3d1b910d57156374
dz: fix locking issues

The ->start_tx(), ->stop_tx() and ->stop_rx() backends are called with the
port's lock already taken.  Remove locking from within them and wrap around
calls as necessary.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/dz.c