]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfad525be0164af963fbc8a237400433e0ad46d42
tree21a9b48b35f9f599b44aca5777777903405444c2
parent8b7bc39ce75bdb106627b0fceae0791e919adc91
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