This is a note to let you know that I've just added the patch titled

    USB: cypress_m8: fix ring-indicator detection and reporting

to the 3.12-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     usb-cypress_m8-fix-ring-indicator-detection-and-reporting.patch
and it can be found in the queue-3.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 440ebadeae9298d7de3d4d105342691841ec88d0 Mon Sep 17 00:00:00 2001
From: Johan Hovold <[email protected]>
Date: Thu, 2 Jan 2014 22:49:24 +0100
Subject: USB: cypress_m8: fix ring-indicator detection and reporting

From: Johan Hovold <[email protected]>

commit 440ebadeae9298d7de3d4d105342691841ec88d0 upstream.

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.

Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/serial/cypress_m8.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/serial/cypress_m8.h
+++ b/drivers/usb/serial/cypress_m8.h
@@ -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 */


Patches currently in stable-queue which might be from [email protected] are

queue-3.12/usb-pl2303-fix-data-corruption-on-termios-updates.patch
queue-3.12/usb-cypress_m8-fix-ring-indicator-detection-and-reporting.patch
queue-3.12/usb-ftdi_sio-added-cs5-quirk-for-broken-smartcard-readers.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to