diff options
author | 2015-03-10 13:41:10 +0100 | |
---|---|---|
committer | 2015-03-12 12:18:49 -0500 | |
commit | e39af88f18dfe9a7938765c97ce9ed448915e6d5 (patch) | |
tree | 88205ee3959d9fdaeda0d2e0f5824dd82516ae72 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: dwc2: pci: Add device mode to the dwc2-pci driver (diff) | |
download | linux-dev-e39af88f18dfe9a7938765c97ce9ed448915e6d5.tar.xz linux-dev-e39af88f18dfe9a7938765c97ce9ed448915e6d5.zip |
usb: dwc2: rework initialization of host and gadget in dual-role mode
If device is configured to work only in HOST or DEVICE mode, there is
no point in initializing both subdrivers. This patch also fixes
resource leakage if host subdriver fails to initialize.
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions