kernel-ark/drivers/usb/host
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
..
ehci-dbg.c
ehci-hcd.c
ehci-hub.c
ehci-mem.c
ehci-q.c
ehci-sched.c
ehci.h
hc_crisv10.c
hc_crisv10.h
isp116x-hcd.c
isp116x.h
Kconfig
Makefile
ohci-au1xxx.c
ohci-dbg.c
ohci-hcd.c
ohci-hub.c
ohci-lh7a404.c
ohci-mem.c
ohci-omap.c
ohci-pci.c
ohci-ppc-soc.c
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci.h
sl811_cs.c
sl811-hcd.c
sl811.h
uhci-debug.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-q.c