Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c744f99eb662b54488304b8b60e5f4323b7587bf
Commit:     c744f99eb662b54488304b8b60e5f4323b7587bf
Parent:     cf0cb1ae0273f0963a5d54c7ec4dde384863fac8
Author:     Oliver Neukum <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 26 15:43:00 2007 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Mar 9 19:52:24 2007 -0800

    USB: fix usb-serial device naming bug
    
    Am Montag, 26. Februar 2007 15:16 schrieb Craig Schlenter:
    > Hi Greg
    >
    > 34ef50e5b1f96c2d8c0f3d28b7d407743806256c is definitely
    > the source of the problem. Reverting that makes the
    > ftdi port show up as ttyUSB0 again for me and it
    > can actually be opened.
    
    This patch should fix the issue.
    
    Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
    Signed-off-by: Craig Schlenter <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/serial/usb-serial.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 7f93abd..9dbd1fa 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -827,7 +827,6 @@ int usb_serial_probe(struct usb_interface *interface,
                        num_ports = type->num_ports;
        }
 
-       serial->minor = minor;
        serial->num_ports = num_ports;
        serial->num_bulk_in = num_bulk_in;
        serial->num_bulk_out = num_bulk_out;
@@ -981,6 +980,7 @@ int usb_serial_probe(struct usb_interface *interface,
                dev_err(&interface->dev, "No more free serial devices\n");
                goto probe_error;
        }
+       serial->minor = minor;
 
        /* register all of the individual ports with the driver core */
        for (i = 0; i < num_ports; ++i) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to