]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tty: release BTM while sleeping in block_til_ready
authorArnd Bergmann <arnd@arndb.de>
Tue, 1 Jun 2010 20:53:10 +0000 (22:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:44 +0000 (13:47 -0700)
commite142a31da34b42458e10026b554e66127739cf23
tree1f65a42cd559116223e1fa1db7631cd449c73968
parentb07471fa51358ce64cc25e1501544502362e4404
tty: release BTM while sleeping in block_til_ready

Most tty drivers may block while opening a device.
Since this possibly depends on another thread
closing it first and both threads may need the BTM,
we need to release it here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/amiserial.c
drivers/char/ip2/ip2main.c
drivers/char/serial167.c
drivers/char/specialix.c
drivers/char/synclink.c
drivers/char/synclink_gt.c
drivers/char/synclinkmp.c
drivers/char/tty_port.c
drivers/serial/68328serial.c
drivers/serial/68360serial.c
drivers/serial/crisv10.c