diff options
author | Andreas Platschek <[email protected]> | 2017-12-07 11:32:20 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2017-12-11 12:35:36 +0200 |
commit | ded600ea9fb51a495d2fcd21e90351df876488e8 (patch) | |
tree | 7826e796c47843abae79921d939914a5cde783b0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 8722e095f5a44d0e409e45c5ddc2ee9cf589c777 (diff) |
usb: dwc3: of-simple: fix missing clk_disable_unprepare
If of_clk_get() fails, the clean-up of already initialized clocks should be
the same as when clk_prepare_enable() fails. Thus a clk_disable_unprepare()
for each clock should be called before the clk_put().
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: 16adc674d0d6 ("usb: dwc3: ep0: fix setup_packet_pending initialization")
Signed-off-by: Andreas Platschek <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions