linux/drivers/usb/dwc3
Kishon Vijay Abraham I 066618bc35 usb: dwc3: core: fix incorrect usage of resource pointer
Populate the resources for xhci afresh instead of directly using the
*struct resource* of core. *resource* structure has parent, sibling,
child pointers which should be filled only by resource API's. By
directly using the *resource* pointer of core in xhci, these parent,
sibling, child pointers are already populated even before
*platform_device_add* causing side effects.

Cc: stable@vger.kernel.org # v3.4, v3.5
Reported-by: Ruchika Kharwar <ruchika@ti.com>
Tested-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-09-06 19:52:28 +03:00
..
core.c usb: dwc3: core: fix incorrect usage of resource pointer 2012-09-06 19:52:28 +03:00
core.h usb: dwc3: rename res_trans_idx to resource_index 2012-06-25 14:00:45 +03:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: debugfs: fix off by one when entering testmode 2012-02-10 12:14:53 +02:00
dwc3-exynos.c usb: dwc3: Remove duplicate header file inclusion 2012-06-22 13:21:43 +03:00
dwc3-omap.c usb: dwc3: omap: add dwc3_omap_readl/writel functions 2012-04-24 15:37:01 +03:00
dwc3-pci.c USB merge for 3.4-rc1 2012-03-20 11:26:30 -07:00
ep0.c usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced 2012-09-06 19:52:24 +03:00
gadget.c usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced 2012-09-06 19:52:24 +03:00
gadget.h usb: dwc3: correct set_halt implementation for ep0 2012-07-02 10:02:07 +03:00
host.c usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
io.h usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
Kconfig usb: dwc3: Fix the dwc3 dependency 2012-05-11 15:17:31 -07:00
Makefile usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00