kernel_optimize_test/drivers/usb/gadget
Milan Svoboda 8a7471aba1 USB: fix ep_config to return correct value
This patch fixes ep_config to return correct value. Without patch
ep_config returns submitted lenght minus 4 on succes. With this
patch applied, whole submitted lenght is returned.

ep_config parses submitted data and if buffer starts with (int) 1
it is parsed, otherwise error is reported. Problem is that ep_config
returns size of buffer minus 4 on success. I think that size of buffer
should be returned instead, because there were no problems and
all data were processed.

Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:52 -07:00
..
at91_udc.c USB: AT91 UDC updates, mostly power management 2006-08-02 16:41:41 -07:00
at91_udc.h USB: AT91 UDC updates, mostly power management 2006-08-02 16:41:41 -07:00
config.c
dummy_hcd.c USB: dummy-hcd: disable interrupts during req->complete 2006-08-02 16:41:42 -07:00
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c USB: Allow compile in g_ether, fix typo 2006-09-27 11:58:48 -07:00
file_storage.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
gadget_chips.h [PATCH] USB: fix gadget_is_musbhdrc() 2006-04-14 11:12:24 -07:00
goku_udc.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
goku_udc.h
inode.c USB: fix ep_config to return correct value 2006-09-27 11:58:52 -07:00
Kconfig USB: fix the USB_GADGET_DUMMY_HCD dependencies 2006-08-02 16:41:42 -07:00
lh7a40x_udc.c [ARM] Fix lh7a40x_udc.c 2006-07-03 15:32:47 +01:00
lh7a40x_udc.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile [PATCH] USB: add support for AT91 gadget 2006-03-20 14:49:56 -08:00
ndis.h
net2280.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
net2280.h [PATCH] USB: linux/usb/net2280.h common definitions 2006-04-14 11:12:25 -07:00
omap_udc.c USB: move <linux/usb_otg.h> to <linux/usb/otg.h> 2006-09-27 11:58:48 -07:00
omap_udc.h
pxa2xx_udc.c USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
pxa2xx_udc.h USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
rndis.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
rndis.h [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
serial.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
usbstring.c
zero.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00