]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cyclades: use dtr_rts helpers
authorJiri Slaby <jirislaby@gmail.com>
Sat, 19 Sep 2009 20:13:15 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:15 +0000 (13:13 -0700)
commit4d7682005ca88a37667c4af03908798e188b5224
tree12e149f103347f22daf718ae641b8868eccaeea7
parentf6e208c1119206e2382ef7df6e47aaee18eb7f10
cyclades: use dtr_rts helpers

For Z cards, use tty helpers for dtr_rts.

If we did the same for Y cards, it will cause a deadlock, because
cyy_dtr_rts takes a lock which we already hold.

Instead, we introduce a Y helper expecting card lock to be held.
It may then be called with set/clear masks from other places.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/cyclades.c