On Wed, 2006-08-16 at 23:17 -0500, Mike Isely wrote:
> From: Mike Isely <[EMAIL PROTECTED]>
> 
> The polling interval for the device can't always be 1msec.  If it is
> too quick, the device can fail causing a fatal (to the driver) EILSEQ
> error from the USB core.  The actual correct value is reported by the
> device as part of its configuration data, so use that value as the
> default.  On a DeLorme Earthmate for example, the device reports that
> it wants a 6msec interval.  As part of this fix, the "interval" module
> option has been fixed as well; the device's default can be overridden
> by specifying interval=<value> as a module option.

   Signed-off-by: Lonnie Mendez <[EMAIL PROTECTED]>

> diff -uprN -X baseline/Documentation/dontdiff 
> baseline/drivers/usb/serial/cypress_m8.c p1/drivers/usb/serial/cypress_m8.c
> --- baseline/drivers/usb/serial/cypress_m8.c  2006-07-15 14:00:43.000000000 
> -0500
> +++ p1/drivers/usb/serial/cypress_m8.c        2006-08-16 22:16:37.000000000 
> -0500
> @@ -74,7 +74,7 @@
>       static int debug;
>   #endif
>   static int stats;
> -static int interval;
> +static int interval = 0;

This is redundant.  A static variable will be initialized as 0 on
creation.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to