aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/serial/cypress_m8.h
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-01-02 22:49:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-03 12:42:24 -0800
commit7603381e3e7ffebe8c0b46c416fe0f88e13b4d34 (patch)
treec8b66a648938286fb1770f6b1eeb61f745d1606c /drivers/usb/serial/cypress_m8.h
parentUSB: cypress_m8: clean up protocol definitions (diff)
downloadwireguard-linux-7603381e3e7ffebe8c0b46c416fe0f88e13b4d34.tar.xz
wireguard-linux-7603381e3e7ffebe8c0b46c416fe0f88e13b4d34.zip
USB: cypress_m8: only wake up MSR queue on changes
Only wake up MSR wait queue on actual modem-status changes. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/cypress_m8.h')
-rw-r--r--drivers/usb/serial/cypress_m8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/cypress_m8.h b/drivers/usb/serial/cypress_m8.h
index 68bfd5197a63..119d2e17077b 100644
--- a/drivers/usb/serial/cypress_m8.h
+++ b/drivers/usb/serial/cypress_m8.h
@@ -66,6 +66,7 @@
#define CONTROL_RTS 0x10 /* request to send */
#define CONTROL_RESET 0x08 /* sent with output report */
+#define UART_MSR_MASK 0xf0
#define UART_RI 0x80 /* ring indicator */
#define UART_CD 0x40 /* carrier detect */
#define UART_DSR 0x20 /* data set ready */