9
0
Fork 0
barebox/drivers
Sascha Hauer c6edbecd68 usb: gadget: fsl: Fix registering from chipidea driver
The fsl gadget driver wants to configure the portsc register
with information from platform_data. When registered from the
chipidea driver there is no platform_data. Fix the resulting
crash by not derefencing platform_data when NULL. In this
case the PORTSC register is not touched, it will have been
configured by the chipidea driver in this case.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-06-25 16:01:50 +02:00
..
amba treewide: Use dev_add_param_int_ro where possible 2013-04-11 11:48:35 +02:00
ata driver: Attach info callback to device, not to driver 2013-05-30 12:18:27 +02:00
base devices: add detect mechanism 2013-05-31 12:32:05 +02:00
clk clkdev: fix typo 2013-05-06 09:19:41 +02:00
clocksource arm: initial support for Marvell Dove SoCs 2013-05-15 07:39:27 +02:00
dma Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
eeprom Introduce device_spi_driver() macro and use it for SPI drivers 2013-03-14 07:15:45 +01:00
gpio gpio: i.MX: initialize earlier 2013-06-18 09:02:50 +02:00
i2c i2c: fsl: Add devicetree probe support 2013-05-31 15:53:11 +02:00
input qt1070: drop non used buf 2013-05-08 07:16:40 +02:00
led led: test for led->set callback before calling it 2013-01-14 13:39:20 +01:00
mci Merge branch 'for-next/mci' 2013-06-02 16:28:21 +02:00
mfd Merge branch 'for-next/device-driver-macros' 2013-04-04 12:03:20 +02:00
misc driver: Attach info callback to device, not to driver 2013-05-30 12:18:27 +02:00
mtd Merge branch 'for-next/mci' 2013-06-02 16:28:21 +02:00
net Merge branch 'for-next/mips' 2013-06-02 16:28:31 +02:00
of Merge branch 'for-next/of-i2c' 2013-06-02 16:28:34 +02:00
pinctrl pinctrl: imx-iomux-v3: Add imx6dl compatible entry 2013-06-25 16:01:45 +02:00
pwm pwm: Use dev_add_param_int for pwm parameters 2013-04-11 11:48:35 +02:00
serial Merge branch 'for-next/zynq' 2013-04-04 23:23:19 +02:00
spi spi: improve devicetree support 2013-05-21 09:35:19 +02:00
usb usb: gadget: fsl: Fix registering from chipidea driver 2013-06-25 16:01:50 +02:00
video driver: Attach info callback to device, not to driver 2013-05-30 12:18:27 +02:00
w1 w1: Fix compiler warning 2013-03-06 09:04:26 +01:00
watchdog ARM/MXS: add more ROM code related documentation 2013-04-09 08:44:06 +02:00
Kconfig Add initial pinctrl support 2013-04-23 09:36:13 +02:00
Makefile Add initial pinctrl support 2013-04-23 09:36:13 +02:00