USB: cdc-acm: fix TIOCGSERIAL flags
authorJohan Hovold <johan@kernel.org>
Wed, 25 Jan 2017 17:02:49 +0000 (18:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 17:51:15 +0000 (18:51 +0100)
commit4ddecf76b5aebb5db4a771ca52c18135291235e3
tree82e3ba9166c1e536e5b18020b9a0b3fbc68d0242
parentbc46e23c34259c842a138f10acc371e4e2cdb287
USB: cdc-acm: fix TIOCGSERIAL flags

The driver reports that it always uses a low-latency mode by returning
the ASYNC_LOW_LATENCY flag through TIOCGSERIAL.

Even if this behaviour could not be changed, this may have made some
sense prior to 7a9a65ced11e ("cdc-acm: Fix long standing abuse of
tty->low_latency") which removed the unconditional setting of the
corresponding tty low_latency flag (something which had always been
broken in itself).

Since the driver does not have a low-latency mode, let's drop the flag.

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