linux-stable/drivers/usb/class
Johan Hovold 18266403f3 USB: cdc-acm: fix TIOCMIWAIT
The TIOCMIWAIT implementation would return -EINVAL if any of the three
supported signals were included in the mask.

Instead of returning an error in case TIOCM_CTS is included, simply
drop the mask check completely, which is in accordance with how other
drivers implement this ioctl.

Fixes: 5a6a62bdb9 ("cdc-acm: add TIOCMIWAIT")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-10 13:12:59 +01:00
..
cdc-acm.c USB: cdc-acm: fix TIOCMIWAIT 2016-11-10 13:12:59 +01:00
cdc-acm.h cdc-acm: fix wrong pipe type on rx interrupt xfers 2016-08-15 16:30:56 +02:00
cdc-wdm.c cdc-wdm: add terminating newline 2016-09-09 14:13:24 +02:00
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile
usblp.c usblp: do not set TASK_INTERRUPTIBLE before lock 2015-11-19 16:31:42 -08:00
usbtmc.c Revert "usbtmc: convert to devm_kzalloc" 2016-09-28 11:51:30 +02:00