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

    USB: mos7720: fix hardware flow control

to the 3.0-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-mos7720-fix-hardware-flow-control.patch
and it can be found in the queue-3.0 subdirectory.

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


>From a26f009a070e840fadacb91013b2391ba7ab6cc2 Mon Sep 17 00:00:00 2001
From: Johan Hovold <[email protected]>
Date: Tue, 4 Jun 2013 18:50:31 +0200
Subject: USB: mos7720: fix hardware flow control

From: Johan Hovold <[email protected]>

commit a26f009a070e840fadacb91013b2391ba7ab6cc2 upstream.

The register access to enable hardware flow control depends on the
device port number and not the port minor number.

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

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

--- a/drivers/usb/serial/mos7720.c
+++ b/drivers/usb/serial/mos7720.c
@@ -1711,7 +1711,7 @@ static void change_port_settings(struct
                mos7720_port->shadowMCR |= (UART_MCR_XONANY);
                /* To set hardware flow control to the specified *
                 * serial port, in SP1/2_CONTROL_REG             */
-               if (port->number)
+               if (port_number)
                        write_mos_reg(serial, dummy, SP_CONTROL_REG, 0x01);
                else
                        write_mos_reg(serial, dummy, SP_CONTROL_REG, 0x02);


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

queue-3.0/usb-serial-fix-treo-kyocera-interrrupt-in-urb-context.patch
queue-3.0/usb-mos7720-fix-dma-to-stack.patch
queue-3.0/usb-iuu_phoenix-fix-bulk-message-timeout.patch
queue-3.0/usb-whiteheat-fix-broken-port-configuration.patch
queue-3.0/usb-mos7720-fix-hardware-flow-control.patch
queue-3.0/usb-keyspan-fix-bogus-array-index.patch
queue-3.0/usb-ark3116-fix-control-message-timeout.patch
queue-3.0/usb-mos7720-fix-message-timeouts.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