u-boot-brain/drivers/usb/gadget
Alex Sadovsky c0978a94aa usb: gadget: pxa25x_udc: fix use-before-initialized bug
Fix use-before-initialized bug in pxa25x_udc driver.

Function usb_gadget_register_driver calls udc_disable,
and udc_disable calls pullup_off that uses dev->mach->udc_command.
But dev->mach is initialized in usb_gadget_register_driver after
calling udc_disable. This patch fixes the order of initialization.

Signed-off-by: Alex Sadovsky <Nable.MainInbox@googlemail.com>
2015-01-18 12:31:01 +01:00
..
atmel_usba_udc.c USB: gadget: atmel_usba_udc: fix transfer hang issue 2014-12-16 16:08:50 +01:00
atmel_usba_udc.h USB: gadget: add atmel usba udc driver 2013-09-24 17:51:35 +02:00
ci_udc.c usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED 2014-10-06 14:50:44 +02:00
ci_udc.h usb: ci_udc: remove controller.items array 2014-07-02 15:45:38 +02:00
composite.c usb: gadget: composite: Fix NULL pointer crash in USB compliance test 2015-01-18 12:31:00 +01:00
config.c usb: gadget: config: fix unaligned access issues 2013-09-24 17:51:35 +02:00
core.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
designware_udc.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
ep0.c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
ep0.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
epautoconf.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ether.c lib: string: move strlcpy() to a common place 2014-12-11 13:18:41 -07:00
f_dfu.c usb: gadget: f_dfu: Add get_alt function to pass the USB compliance test 2015-01-18 12:31:00 +01:00
f_dfu.h usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value 2013-12-18 19:53:19 +01:00
f_fastboot.c fastboot: add support for continue command 2014-12-18 12:26:06 +01:00
f_mass_storage.c usb: f_mass_storage: set removable flag in do_inquiry based on LUN 2014-10-06 14:50:43 +02:00
f_thor.c gadget: f_thor: check pointers before use in download_tail() 2014-12-18 12:26:06 +01:00
f_thor.h sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
fotg210.c usb: gadget: fotg210: EP0 fifo empty indication is non-reliable 2014-01-13 12:15:13 +01:00
g_dnl.c usb, g_dnl: generalize DFU detach functions 2014-12-18 12:26:05 +01:00
gadget_chips.h usb: mv_udc: Rename to ci_udc 2014-02-06 04:48:15 +01:00
Makefile usb: s3c-otg: Split out PHY control 2014-11-07 16:32:02 +01:00
mpc8xx_udc.c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
ndis.h USB: Add USB RNDIS gadget protocol 2011-02-19 20:32:37 +01:00
pxa25x_udc.c usb: gadget: pxa25x_udc: fix use-before-initialized bug 2015-01-18 12:31:01 +01:00
pxa25x_udc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pxa27x_udc.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
regs-otg.h driver:usb:s3c_udc: add support for Exynos4x12 2013-12-02 11:22:32 +09:00
rndis.c Coding Style cleanup: remove trailing empty lines 2011-03-27 21:48:08 +02:00
rndis.h USB-RNDIS: Send RNDIS state on disconnecting 2011-02-19 20:32:38 +01:00
s3c_udc_otg_phy.c usb: s3c-otg: Split out PHY control 2014-11-07 16:32:02 +01:00
s3c_udc_otg_xfer_dma.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
s3c_udc_otg.c usb: s3c-otg: Allow custom gusbcfg 2014-11-07 16:32:02 +01:00
storage_common.c lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
usbstring.c usb: handle NULL table in usb_gadget_get_string 2014-04-30 10:30:57 +02:00