linux_dsm_epyc7002/drivers/usb/dwc3
Andreas Platschek ded600ea9f 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: 16adc674d0 ("usb: dwc3: ep0: fix setup_packet_pending initialization")

Signed-off-by: Andreas Platschek <andreas.platschek@opentech.at>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-12-11 12:35:36 +02:00
..
core.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
core.h USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
debug.h USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
debugfs.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
drd.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-exynos.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-keystone.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-of-simple.c usb: dwc3: of-simple: fix missing clk_disable_unprepare 2017-12-11 12:35:36 +02:00
dwc3-omap.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-pci.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-st.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
ep0.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
gadget.c usb: dwc3: gadget: Wait longer for controller to end command processing 2017-12-11 12:35:36 +02:00
gadget.h USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
host.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
io.h USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
Kconfig usb: changes for v4.12 2017-04-11 16:47:26 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
trace.h USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
ulpi.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00