USB: cdc-acm: use tty-port dtr_rts
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:51 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:10 +0000 (15:04 -0700)
commit0943d8ead30e9474034cc5e92225ab0fd29fd0d4
tree21a9b48b35f9f599b44aca5777777903405444c2
parent308fee18e0f06215b47b54a2b254bfaf55527bdd
USB: cdc-acm: use tty-port dtr_rts

Add dtr_rts tty-port operation which implements proper DTR/RTS handling
(e.g. only lower DTR/RTS during shutdown if HUPCL is set).

Note that modem-control locking still needs to be added throughout the
driver.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c