android_kernel_xiaomi_sm8350/drivers/usb/gadget
Li Yang 2336a98679 usb gadget: fix fsl_usb2_udc potential OOPS
For fsl_usb2_udc driver, ep0 also has a descriptor.  Current code is
misleading and contains a logical mistake.  Here is the patch to fix it.

 http://bugzilla.kernel.org/show_bug.cgi?id=9595

Cc: stable <stable@kernel.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-01 14:34:43 -08:00
..
amd5536udc.c USB: amd5536udc - remove set_mwi() compiler warning 2007-10-25 12:18:45 -07:00
amd5536udc.h USB: amd5536 UDC driver (in GEODE southbridge) 2007-07-19 17:46:05 -07:00
at91_udc.c USB: at91_udc: correct hanging while disconnecting usb cable 2007-12-17 10:47:15 -08:00
at91_udc.h USB: at91_udc wakeup event updates 2007-02-07 15:44:37 -08:00
atmel_usba_udc.c atmel_usba_udc: Keep track of the device status 2007-10-12 14:55:35 -07:00
atmel_usba_udc.h atmel_usba_udc: Keep track of the device status 2007-10-12 14:55:35 -07:00
config.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
dummy_hcd.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
epautoconf.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
ether.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
file_storage.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
fsl_usb2_udc.c usb gadget: fix fsl_usb2_udc potential OOPS 2008-02-01 14:34:43 -08:00
fsl_usb2_udc.h USB: fsl_usb2_udc: Get max ep number from DCCPARAMS register 2007-07-12 16:34:30 -07:00
gadget_chips.h USB: m66592-udc: fixes some problems 2007-07-19 17:46:05 -07:00
gmidi.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
goku_udc.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
goku_udc.h USB: goku_udc trivial cleanups 2007-07-12 16:34:43 -07:00
inode.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
Kconfig [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
lh7a40x_udc.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
lh7a40x_udc.h USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
m66592-udc.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
m66592-udc.h USB: m66592-udc: fixes some problems 2007-07-19 17:46:05 -07:00
Makefile USB: add atmel_usba_udc driver 2007-10-12 14:55:33 -07:00
ndis.h
net2280.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: omap_udc build fix 2007-11-28 13:58:33 -08:00
omap_udc.h USB: omap_udc build fixes (sync with linux-omap) 2007-01-05 12:19:09 -08:00
pxa2xx_udc.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-10-15 16:08:50 -07:00
pxa2xx_udc.h [ARM] pxa: update PXA UDC driver to use clk support 2007-10-12 21:15:11 +01:00
rndis.c USB: usb gadget stack can now -DDEBUG with Kconfig 2007-07-12 16:34:42 -07:00
rndis.h USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
s3c2410_udc.c USB: s3c2410 gadget: ensure vbus pin in input mode during read 2007-11-28 13:58:36 -08:00
s3c2410_udc.h USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
serial.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
usbstring.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
zero.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00