OpenCloudOS-Kernel/drivers/usb/dwc3
Felipe Balbi bb67490711 usb: dwc3: core: cope with NULL pdata
if pdata is a NULL pointer we could cause a
kernel oops when probing the driver. Make sure
to cope with systems which won't pass pdata
to the driver.

Tested-by: Paul Zimmerman <paulz@synopsys.com>
Reported-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-14 12:23:09 -07:00
..
Kconfig usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
Makefile usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
core.c usb: dwc3: core: cope with NULL pdata 2013-08-14 12:23:09 -07:00
core.h usb: dwc3: fix typo in comment of dwc3_ep 2013-07-29 13:57:01 +03:00
debug.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
dwc3-omap.c usb: dwc3: omap: switch over to devm_ioremap_resource() 2013-07-29 13:56:53 +03:00
dwc3-pci.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
ep0.c usb: dwc3: ep0: don't change to configured state too early 2013-07-29 13:57:04 +03:00
gadget.c usb: dwc3: gadget: introduce dwc3_process_event_buf 2013-07-29 13:57:01 +03:00
gadget.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
host.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
io.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00