cdc-acm: add TIOCMIWAIT
authorOliver Neukum <oneukum@suse.de>
Wed, 20 Nov 2013 10:35:34 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 18:23:46 +0000 (10:23 -0800)
commit5a6a62bdb9257aa74ab0ad2b2c8a33b0f9b17ce4
treec39408f8477c5332d5aaadd0ee9c275eb03f5ffe
parent4e065b8bba731af296f963e0608e6ea7d98c044f
cdc-acm: add TIOCMIWAIT

This implements TIOCMIWAIT for TIOCM_DSR, TIOCM_RI and TIOCM_CD
Disconnect is handled as TIOCM_CD or an error.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h