mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-25 07:06:40 +08:00
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>
This commit is contained in:
parent
a4bcb29459
commit
440ebadeae
@ -63,7 +63,7 @@
|
||||
#define UART_DSR 0x20 /* data set ready - flow control - device to host */
|
||||
#define CONTROL_RTS 0x10 /* request to send - flow control - host to device */
|
||||
#define UART_CTS 0x10 /* clear to send - flow control - device to host */
|
||||
#define UART_RI 0x10 /* ring indicator - modem - device to host */
|
||||
#define UART_RI 0x80 /* ring indicator - modem - device to host */
|
||||
#define UART_CD 0x40 /* carrier detect - modem - device to host */
|
||||
#define CYP_ERROR 0x08 /* received from input report - device to host */
|
||||
/* Note - the below has nothing to do with the "feature report" reset */
|
||||
|
Loading…
Reference in New Issue
Block a user