diff options
| author | Dan Carpenter <[email protected]> | 2023-01-24 18:20:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-02-02 11:12:02 +0100 |
| commit | ba883de971d1ad018f3083d9195b8abe54d87407 (patch) | |
| tree | e52576b7fe4e5fe02dba54e5bc1d07df66c2a47b /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 45bf39f8df7f05efb83b302c65ae3b9bc92b7065 (diff) | |
usb: musb: mediatek: don't unregister something that wasn't registered
This function only calls mtk_otg_switch_init() when the ->port_mode
is MUSB_OTG so the clean up code should only call mtk_otg_switch_exit()
for that mode.
Fixes: 0990366bab3c ("usb: musb: Add support for MediaTek musb controller")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/Y8/3TqpqiSr0RxFH@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions