diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-01-02 16:49:24 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-03 15:42:24 -0500 |
commit | 440ebadeae9298d7de3d4d105342691841ec88d0 (patch) | |
tree | 62a76ffed57da40fff8fe862133acfbd0b2cdc3a /drivers/usb/serial/cypress_m8.h | |
parent | a4bcb2945926901bbacf978eb0c0fdda5b327dc7 (diff) |
USB: cypress_m8: fix ring-indicator detection and reporting
Fix ring-indicator (RI) status-bit definition, which was defined as CTS,
effectively preventing RI-changes from being detected while reporting
false RI status.
This bug predates git.
Cc: stable@vger.kernel.org
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cypress_m8.h b/drivers/usb/serial/cypress_m8.h index b461311a2ae7..ce13e61b7d55 100644 --- a/drivers/usb/serial/cypress_m8.h +++ b/drivers/usb/serial/cypress_m8.h | |||
@@ -63,7 +63,7 @@ | |||
63 | #define UART_DSR 0x20 /* data set ready - flow control - device to host */ | 63 | #define UART_DSR 0x20 /* data set ready - flow control - device to host */ |
64 | #define CONTROL_RTS 0x10 /* request to send - flow control - host to device */ | 64 | #define CONTROL_RTS 0x10 /* request to send - flow control - host to device */ |
65 | #define UART_CTS 0x10 /* clear to send - flow control - device to host */ | 65 | #define UART_CTS 0x10 /* clear to send - flow control - device to host */ |
66 | #define UART_RI 0x10 /* ring indicator - modem - device to host */ | 66 | #define UART_RI 0x80 /* ring indicator - modem - device to host */ |
67 | #define UART_CD 0x40 /* carrier detect - modem - device to host */ | 67 | #define UART_CD 0x40 /* carrier detect - modem - device to host */ |
68 | #define CYP_ERROR 0x08 /* received from input report - device to host */ | 68 | #define CYP_ERROR 0x08 /* received from input report - device to host */ |
69 | /* Note - the below has nothing to do with the "feature report" reset */ | 69 | /* Note - the below has nothing to do with the "feature report" reset */ |