TTY: amiserial, provide carrier helpers
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:46 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:50:01 +0000 (12:50 -0800)
commitf1166604f58e842a0bb5a639d6728ce6e2250495
treeda7421946576b7071b5ef9df8095efd338f1d68e
parent6fe18d26b1c33d5cb748f8694ee1a59dc5578da4
TTY: amiserial, provide carrier helpers

This is a preparation for a switch to tty_port_block_til_ready. We
need amiga_carrier_raised and amiga_dtr_rts. The implementation is
taken from startup, shutdown and current block_til_ready.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c