Re: [PATCH 2/4] TTY: fix DTR not being dropped on hang up

2013-02-26 Thread Johan Hovold
On Sat, Feb 23, 2013 at 09:18:02AM -0500, Peter Hurley wrote: On Wed, 2013-02-20 at 17:02 +0100, Johan Hovold wrote: Move HUPCL handling to port shutdown so that DTR is dropped also on hang up (tty_port_close is a noop for hung-up ports). Also do not try to drop DTR for uninitialised

Re: [PATCH 2/4] TTY: fix DTR not being dropped on hang up

2013-02-23 Thread Peter Hurley
On Wed, 2013-02-20 at 17:02 +0100, Johan Hovold wrote: Move HUPCL handling to port shutdown so that DTR is dropped also on hang up (tty_port_close is a noop for hung-up ports). Also do not try to drop DTR for uninitialised ports where it has never been raised (e.g. after a failed open).

[PATCH 2/4] TTY: fix DTR not being dropped on hang up

2013-02-20 Thread Johan Hovold
Move HUPCL handling to port shutdown so that DTR is dropped also on hang up (tty_port_close is a noop for hung-up ports). Also do not try to drop DTR for uninitialised ports where it has never been raised (e.g. after a failed open). Nine drivers currently call tty_port_close_start directly