diff options
| author | Marek Szyprowski <[email protected]> | 2015-03-10 13:41:10 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-03-12 12:18:49 -0500 |
| commit | e39af88f18dfe9a7938765c97ce9ed448915e6d5 (patch) | |
| tree | 88205ee3959d9fdaeda0d2e0f5824dd82516ae72 /tools/perf/scripts/python | |
| parent | 9024c495f35be735a917571406fab30a789c27d1 (diff) | |
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 <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions