diff options
author | 2012-08-21 14:56:16 +0530 | |
---|---|---|
committer | 2012-09-06 19:52:28 +0300 | |
commit | 066618bc350cc6035c3a0fc559a8ac02f55785a9 (patch) | |
tree | ab76f6422ba512064085b4dc993ff5c77b012828 /include/linux/v4l2-subdev.h | |
parent | usb: musb: musbhsdma: fix IRQ check (diff) | |
download | wireguard-linux-066618bc350cc6035c3a0fc559a8ac02f55785a9.tar.xz wireguard-linux-066618bc350cc6035c3a0fc559a8ac02f55785a9.zip |
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>
Diffstat (limited to 'include/linux/v4l2-subdev.h')
0 files changed, 0 insertions, 0 deletions