Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=97cd49ebf74e3bee49d541a47ef085df1fbfac7d
Commit:     97cd49ebf74e3bee49d541a47ef085df1fbfac7d
Parent:     20dfdad74a2baabeecc2896c770efcbf698b9b8d
Author:     Stepan Moskovchenko <[EMAIL PROTECTED]>
AuthorDate: Wed May 9 14:53:04 2007 -0400
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Thu Jul 12 16:29:50 2007 -0700

    USB: ftdi_sio.c: Allow setting latency timer on FT232RL
    
    The new FT232RL allows setting and getting the value of the latency
    timer, like on the FT232BM. However, the driver will not create the
    sysfs entries for the RL without this one-line patch.
    
    I have tested it on two systems with successful results.
    
    
    From: Stepan Moskovchenko <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/serial/ftdi_sio.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index da1c6f7..3edd13f 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1149,7 +1149,9 @@ static int create_sysfs_attrs(struct usb_serial_port 
*port)
                dbg("sysfs attributes for %s", ftdi_chip_name[priv->chip_type]);
                retval = device_create_file(&port->dev, &dev_attr_event_char);
                if ((!retval) &&
-                   (priv->chip_type == FT232BM || priv->chip_type == FT2232C)) 
{
+                   (priv->chip_type == FT232BM ||
+                    priv->chip_type == FT2232C ||
+                    priv->chip_type == FT232RL)) {
                        retval = device_create_file(&port->dev,
                                                    &dev_attr_latency_timer);
                }
-
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