android_kernel_xiaomi_sm8350/drivers/usb/host
Olav Kongas e9b765decf [PATCH] isp116x-hcd: fix handling of short transfers
Increased use of scatter-gather by usb-storage driver after 2.6.13 has
exposed a buggy codepath in isp116x-hcd, which was probably never
visited before: bug happened only for those urbs, for which
URB_SHORT_NOT_OK was set AND short transfer occurred.

The fix attached was tested in 2 ways: (a) it fixed failing
initialization of a flash drive with an embedded hub; (b) the fix was
tested with 'usbtest' against a modified g_zero driver (on top of
net2280), which generated short bulk IN transfers of various lengths
including multiples and non-multiples of max_packet_length.

Signed-off-by: Olav Kongas <ok@artecdesign.ee>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-17 14:45:49 -07:00
..
ehci-dbg.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
ehci-hcd.c [PATCH] drivers/usb: fix-up schedule_timeout() usage 2005-09-12 12:23:44 -07:00
ehci-hub.c [PATCH] USB: EHCI port tweaks 2005-09-12 12:23:42 -07:00
ehci-mem.c
ehci-q.c [PATCH] ehci: add tt_usecs 2005-09-08 16:28:36 -07:00
ehci-sched.c [PATCH] ehci: add tt_usecs 2005-09-08 16:28:36 -07:00
ehci.h [PATCH] USB: EHCI port tweaks 2005-09-12 12:23:42 -07:00
hc_crisv10.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
hc_crisv10.h
isp116x-hcd.c [PATCH] isp116x-hcd: fix handling of short transfers 2005-10-17 14:45:49 -07:00
isp116x.h [PATCH] USB: Add isp116x-hcd USB host controller driver 2005-06-27 14:43:42 -07:00
Kconfig [PATCH] USB: Add isp116x-hcd USB host controller driver 2005-06-27 14:43:42 -07:00
Makefile [PATCH] USB: Add isp116x-hcd USB host controller driver 2005-06-27 14:43:42 -07:00
ohci-au1xxx.c
ohci-dbg.c [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
ohci-hcd.c [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
ohci-hub.c [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
ohci-lh7a404.c [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
ohci-mem.c [PATCH] USB: Fix kmalloc's flags type in USB 2005-07-12 11:52:56 -07:00
ohci-omap.c [ARM] Don't include asm/arch/hardware.h directly 2005-09-29 11:12:52 +01:00
ohci-pci.c [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
ohci-ppc-soc.c [PATCH] USB: remove include of asm/usb.h in ohci-ppc-soc.c 2005-09-08 16:28:26 -07:00
ohci-pxa27x.c [PATCH] USB: OHCI, pxa27x OHCI port power tweaks 2005-09-12 12:23:46 -07:00
ohci-q.c
ohci-s3c2410.c [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
ohci-sa1111.c
ohci.h [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
sl811_cs.c [PATCH] pcmcia: remove references to pcmcia/version.h 2005-07-07 18:24:07 -07:00
sl811-hcd.c [PATCH] USB: sl811-hcd minor fixes 2005-09-22 07:58:25 -07:00
sl811.h
uhci-debug.c [PATCH] USB UHCI: Add root hub states 2005-06-27 14:43:43 -07:00
uhci-hcd.c [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00
uhci-hcd.h [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00
uhci-hub.c [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00
uhci-q.c [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00