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
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
ehci-sched.c
ehci.h [PATCH] USB: EHCI port tweaks 2005-09-12 12:23:42 -07:00
hc_crisv10.c
hc_crisv10.h
isp116x-hcd.c [PATCH] isp116x-hcd: fix handling of short transfers 2005-10-17 14:45:49 -07:00
isp116x.h
Kconfig
Makefile
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
ohci-omap.c [ARM] Don't include asm/arch/hardware.h directly 2005-09-29 11:12:52 +01:00
ohci-pci.c
ohci-ppc-soc.c
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
sl811-hcd.c [PATCH] USB: sl811-hcd minor fixes 2005-09-22 07:58:25 -07:00
sl811.h
uhci-debug.c
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