android_kernel_xiaomi_sm8350/drivers/usb/musb
Ajay Kumar Gupta 23d15e070c usb: musb: fix BULK request on different available endpoints
Fixes co-working issue of usb serial device with usb/net devices while
oter endpoints are free and can be used.This patch implements the policy
that if endpoint resources are available then different BULK request goes
to different endpoint otherwise they are multiplexed to one reserved
endpoint as currently done.

Switch statement case is reordered in musb_giveback() to take care of
bulk request both in multiplex scenario and otherwise.

NAK limit scheme has to be added for multiplexed BULK request scenario
to avoid endpoint starvation due to usb/net devices.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-11-13 14:45:01 -08:00
..
cppi_dma.c
cppi_dma.h usb: musb_hdrc build fixes 2008-10-17 14:40:59 -07:00
davinci.c usb: musb_hdrc build fixes 2008-10-17 14:40:59 -07:00
davinci.h
Kconfig usb: musb_hdrc build fixes 2008-10-17 14:40:59 -07:00
Makefile
musb_core.c usb: musb: fix debug global variable name 2008-11-13 14:45:01 -08:00
musb_core.h
musb_debug.h usb: musb: fix debug global variable name 2008-11-13 14:45:01 -08:00
musb_dma.h
musb_gadget_ep0.c usb: musb: do not mess up count number and CSR0 register value 2008-10-17 14:40:59 -07:00
musb_gadget.c
musb_gadget.h
musb_host.c usb: musb: fix BULK request on different available endpoints 2008-11-13 14:45:01 -08:00
musb_host.h usb: musb: fix BULK request on different available endpoints 2008-11-13 14:45:01 -08:00
musb_io.h musb: io: only define read/write stubs if they're not defined yet 2008-10-17 14:40:58 -07:00
musb_regs.h
musb_virthub.c
musbhsdma.c usb: musb: general cleanup to musbhsdma.c 2008-10-17 14:40:59 -07:00
omap2430.c usb: musb: Removes compilation warning in gadget mode 2008-11-13 14:45:01 -08:00
omap2430.h
tusb6010_omap.c
tusb6010.c usb: musb: tusb6010: kill compile warning 2008-11-13 14:45:01 -08:00
tusb6010.h