summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-pci.c
diff options
context:
space:
mode:
authorIngo van Lil <inguin@gmx.de>2008-03-29 00:50:26 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 08:16:47 +0400
commit9063ff44f081a0297085952f6760dfe1f8ca840e (patch)
tree77e921cc3fad2951b98d6aea872fc644bdf290b9 /drivers/usb/host/ohci-pci.c
parent73d79aaba9ee21aaa1a6676f568ef7b3bdf993ea (diff)
downloadlinux-9063ff44f081a0297085952f6760dfe1f8ca840e.tar.xz
USB: gadget: dummy_hcd.c: fix nested switch statements
Fix a messed up combination of two nested switch statements in drivers/usb/gadget/dummy_hcd.c. According to the USB spec (section 5.8.3) the maximum packet size for bulk endpoints can be 512 for high-speed devices and 8, 16, 32 or 64 for full-speed devices. Low-speed devices must not have bulk endpoints. Signed-off-by: Ingo van Lil <inguin@gmx.de> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-pci.c')
0 files changed, 0 insertions, 0 deletions