aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-03-29 17:09:59 -0700
committerFelipe Balbi <balbi@kernel.org>2020-05-05 11:00:12 +0300
commit8cc6d55bc20016cc6d81628713114bd807a1e661 (patch)
tree93987acaf83eb4b847a6cd0e32b27fd775a4fac8 /tools/perf/scripts/python
parentusb: dwc3: meson-g12a: refactor usb2 phy init (diff)
downloadlinux-8cc6d55bc20016cc6d81628713114bd807a1e661.tar.gz
linux-8cc6d55bc20016cc6d81628713114bd807a1e661.zip
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 <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions