]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: ipaq.c timing parameters
authorFrank Gevaerts <frank.gevaerts@fks.be>
Fri, 30 Jun 2006 09:34:45 +0000 (02:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:23 +0000 (16:03 -0700)
commitaf9ad3153f15ece2985af45f316bc7cca63a2d14
tree678da73c0a649126ff49fda97c341c94b6ce2779
parent19b2a93405801e9845a4b0d76150ac30191839d1
[PATCH] USB: ipaq.c timing parameters

Adds configurable waiting periods to the ipaq connection code. These are
not needed when the pocketpc device is running normally when plugged in,
but they need extra delays if they are physically connected while
rebooting.

There are two parameters :

* initial_wait : this is the delay before the driver attemts to start the
  connection. This is needed because the pocktpc device takes much
  longer to boot if the driver starts sending control packets too soon.

* connect_retries : this is the number of times the control urb is
  retried before finally giving up. The patch also adds a 1 second delay
  between retries.

I'm not sure if the cases where this patch is useful are general enough
to include this in the kernel.

Signed-off-by: Frank Gevaerts <frank.gevaerts@fks.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ipaq.c