]> git.baikalelectronics.ru Git - kernel.git/commit
cypress_m8: use appropriate URB polling interval
authorMike Isely <isely@pobox.com>
Wed, 30 Aug 2006 03:06:59 +0000 (22:06 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:58 +0000 (11:58 -0700)
commitc55b040cf4925f0e7658b2381b6df0afe0924545
tree323e08e486099d996be410e36a4d7ba927688956
parent1791dff19cd903f2e9af6a41fc10c42d456dffd4
cypress_m8: use appropriate URB polling interval

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: Mike Isely <isely@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cypress_m8.c