diff options
| author | Thinh Nguyen <[email protected]> | 2020-03-29 17:09:59 -0700 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-05 11:00:12 +0300 |
| commit | 8cc6d55bc20016cc6d81628713114bd807a1e661 (patch) | |
| tree | 93987acaf83eb4b847a6cd0e32b27fd775a4fac8 /tools/perf/scripts/python | |
| parent | 31306821d87723d63f1be6908c7187719f282eff (diff) | |
usb: dwc3: drd: Don't free non-existing irq
If the driver is configured to use DRD role-switch, it's not OTG. There
won't be OTG irq to free. Check for dwc->otg_irq before freeing it.
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions