OpenCloudOS-Kernel/drivers/usb/core
Dan Streetman 498f78e6fc [PATCH] USB: fix in usb_calc_bus_time
This patch does the same swap, i.e. use the ISO macro if (isoc).
Additionally, it fixes the return value - the usb_calc_bus_time function
returns the time in nanoseconds (I didn't notice that before) while the
HS_USECS and HS_USECS_ISO are microseconds.  This fixes the function to
return nanoseconds always, and adjusts ehci-q.c (the only high-speed
caller of the function) to wrap the call in NS_TO_US().

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-29 13:12:54 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
buffer.c [PATCH] USB: Fix kmalloc's flags type in USB 2005-07-12 11:52:56 -07:00
config.c [PATCH] USB: fix up some sparse warnings about static functions that aren't static. 2005-04-18 17:39:24 -07:00
devices.c [PATCH] make driver's name be const char * 2005-06-20 15:15:01 -07:00
devio.c [PATCH] USB: usbfs: Don't leak uninitialized data 2005-07-29 13:12:52 -07:00
file.c [PATCH] USB: trivial error path fix 2005-06-20 15:15:09 -07:00
hcd-pci.c [ACPI] S3 Suspend to RAM: fix driver suspend/resume methods 2005-07-11 23:23:46 -04:00
hcd.c [PATCH] USB: fix in usb_calc_bus_time 2005-07-29 13:12:54 -07:00
hcd.h [PATCH] USB: fix in usb_calc_bus_time 2005-07-29 13:12:54 -07:00
hub.c [PATCH] USB: khubd: use kthread API 2005-07-12 11:52:54 -07:00
hub.h [PATCH] usbcore: Remove hub_set_power_budget 2005-06-27 14:43:48 -07:00
inode.c [PATCH] remove duplicate get_dentry functions in various places 2005-06-23 09:45:20 -07:00
message.c [PATCH] USB: Usbcore: Don't try to delete unregistered interfaces 2005-07-29 13:12:53 -07:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c [PATCH] USB: add bMaxPacketSize0 attribute to sysfs 2005-07-12 11:52:54 -07:00
urb.c [PATCH] USB: Fix kmalloc's flags type in USB 2005-07-12 11:52:56 -07:00
usb.c [PATCH] USB: export usb_get_intf() and usb_put_intf() 2005-07-12 11:52:57 -07:00
usb.h [PATCH] USB: fix up some sparse warnings about static functions that aren't static. 2005-04-18 17:39:24 -07:00