summaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore
diff options
context:
space:
mode:
authorAjay Kumar Gupta2008-10-29 14:10:35 +0100
committerGreg Kroah-Hartman2008-11-13 23:45:01 +0100
commit23d15e070c2fe5d341ca04275f6ea1b5a5fcb26f (patch)
tree9fa6808984c70ade8959f5ac766c1b32d9e629b1 /drivers/usb/wusbcore
parentusb: musb: fix debug global variable name (diff)
downloadkernel-qcow2-linux-23d15e070c2fe5d341ca04275f6ea1b5a5fcb26f.tar.gz
kernel-qcow2-linux-23d15e070c2fe5d341ca04275f6ea1b5a5fcb26f.tar.xz
kernel-qcow2-linux-23d15e070c2fe5d341ca04275f6ea1b5a5fcb26f.zip
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>
Diffstat (limited to 'drivers/usb/wusbcore')
0 files changed, 0 insertions, 0 deletions