]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB: ftdi-elan: Always pass usb_bulk_msg() a timeout in milliseconds.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 29 Sep 2008 17:58:35 +0000 (10:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:02 +0000 (14:41 -0700)
commitc0f082c5367a02e8493d779e16ad336167e14718
tree173018ddaac12eb12a7d001e9802f1346d650364
parentce5dee50edc8b1ac8028c17040d40a78c4b33232
USB: ftdi-elan: Always pass usb_bulk_msg() a timeout in milliseconds.

The kernel doc for usb_bulk_msg() says the timeout for a bulk message should be
specified in milliseconds.  The ftdi-elan driver converts milliseconds to
jiffies before passing the timeout to usb_bulk_msg().  This is mostly harmless,
since it will just lead to very long timeouts, but was obviously not the intent
of the original author.

Signed-off-by: Sarah Sharp <sarah.a.sharp@intel.com>
Acked-by: Tony Olech <tony.olech@elandigitalsystems.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/ftdi-elan.c