u-boot-brain/drivers
Stefan Roese 87ed6b1067 usb: gadget: composite: Fix NULL pointer crash in USB compliance test
On the DXR2 board (AM335x using MUSB) the USB compliance test suite
(USB 2.0 Command Verifier) will cause the board to crash and reset
upon the "BOS Descriptor Test - Addressed state". Here the output
from the DRX2 while running this test:

GADGET DRIVER: usb_dnl_dfu
musb-hdrc: peripheral reset irq lost!
composite_setup (776)
data abort
pc : [<87f693ac>]          lr : [<87f6911c>]
sp : 86f33a58  ip : 00000000     fp : 86f3bbac
r10: 00000f00  r9 : 86f33ef4     r8 : 86f37da8
r7 : 00000005  r6 : 86f33a90     r5 : 00000000  r4 : 86f37e30
r3 : 00000000  r2 : 00000000     r1 : 87f9c888  r0 : 00000016
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

By adding the case statement for USB_DT_BOS and therefore not running
into the default case (jump to unkown label) this crash is fixed.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Roger Meier <r.meier@siemens.com>
Cc: Samuel Egli <samuel.egli@siemens.com>
Cc: Enrico Leto <enrico.leto@siemens.com>
Acked-by: Heiko Schocher <hs@denx.de>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
2015-01-18 12:31:00 +01:00
..
bios_emulator bios_emulator: Correct ordering of includes 2014-12-13 15:08:04 -07:00
block ahci-plat: provide a weak scsi_bus_reset() hook 2015-01-05 15:13:46 -05:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: device: Add newline to debug() messages 2014-12-11 13:18:43 -07:00
crypto crypto/fsl: Fix RNG instantiation failure. 2014-12-15 09:16:26 -08:00
ddr/fsl driver/ddr/fsl: Fix MRC_CYC calculation for DDR3 2014-12-15 09:15:12 -08:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu dfu: dfu_get_buf: check the value of env dfu_bufsiz before use 2014-12-18 12:26:06 +01:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga fs: API changes enabling extra parameter to return size of type loff_t 2014-11-23 06:49:04 -05:00
gpio sunxi: gpio: Add support for gpio pins on the AXP209 pmic 2015-01-14 14:56:38 +01:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c i2c:mxc fix array size of i2c_data 2015-01-08 11:00:45 -05:00
input cros-ec-keyboard: Synchronize DT binding from linux 2015-01-05 17:45:16 -07:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc i2c_eeprom: include <linux/err.h> to fix build error 2015-01-05 17:45:15 -07:00
mmc mmc: sunxi: Fix misuse of gpio_direction_input() 2015-01-14 14:56:36 +01:00
mtd mtd: OMAP: Enable GPMC prefetch mode 2015-01-13 11:51:23 -05:00
net powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support 2015-01-05 12:08:51 -05:00
pci powerpc: 74xx_7xx: remove 74xx_7xx cpu support 2015-01-16 10:24:39 -05:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power Merge branch 'master' of git://git.denx.de/u-boot-ti 2015-01-16 10:25:01 -05:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe qe/deep-sleep: modify qe deep-sleep for generic board 2014-12-15 09:16:49 -08:00
rtc mpc8260: remove atc board support 2015-01-05 12:08:55 -05:00
serial x86: Use ePAPR defined properties for x86-uart 2015-01-13 07:24:57 -08:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi qspi:fsl implement AHB read 2015-01-09 00:03:28 +05:30
thermal thermal: imx_thermal: Do not display calibration data 2014-12-01 10:20:18 +01:00
tpm Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: gadget: composite: Fix NULL pointer crash in USB compliance test 2015-01-18 12:31:00 +01:00
video ppc4xx: remove dead code 2015-01-16 10:24:14 -05:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2014-11-26 11:23:26 -05:00