9
0
Fork 0
barebox/drivers/usb/gadget
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
..
Kconfig usb/gadget/Kconfig: fix menu 2013-03-12 18:41:12 +01:00
Makefile at91: add udc usb device controller support 2011-12-14 12:41:15 +01:00
at91_udc.c USB gadget at91: Use dev_add_param_bool for vbus parameter 2013-04-11 11:48:36 +02:00
at91_udc.h at91_udc: update vbus param only if updated 2012-01-02 12:08:25 +01:00
composite.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
config.c Add USB device support 2009-09-25 14:31:26 +02:00
dfu.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
epautoconf.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
f_acm.c serial gadget: enable/disable on request 2012-01-04 14:18:46 +01:00
f_serial.c usb/gadget: add USB serial connect and disconnect 2011-12-05 17:59:02 +01:00
fsl_udc.c usb: gadget: fsl: Fix registering from chipidea driver 2013-06-25 16:01:50 +02:00
gadget_chips.h Add USB device support 2009-09-25 14:31:26 +02:00
pxa27x_udc.c Use new device_platform_driver() macro for drivers 2013-02-13 09:23:28 +01:00
pxa27x_udc.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
serial.c serial gadget: enable/disable on request 2012-01-04 14:18:46 +01:00
u_serial.c usb: add flow control to u_serial 2012-10-29 08:33:16 +01:00
u_serial.h Add USB device support 2009-09-25 14:31:26 +02:00
usbstring.c Add USB device support 2009-09-25 14:31:26 +02:00