git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560460b
)
TTY: bfin_jtag_comm, use tty from tty_port
author
Jiri Slaby
<jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:20 +0000
(13:54 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:28:18 +0000
(11:28 -0700)
Switch from mutex to tty_port->lock and to tty refcounting. This needs
a 'continue' to be added to re-grab a tty after schedule returns.
And since tty is not protected by bfin_jc_tty_mutex remove it as well.
But this needs tty_port->count to be protected by tty_port->lock now.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/bfin_jtag_comm.c
patch
|
blob
|
history
diff --cc
drivers/tty/bfin_jtag_comm.c
Simple merge