diff options
| author | Alexey Khoroshilov <[email protected]> | 2019-01-21 21:23:50 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2019-01-28 13:31:11 +0000 |
| commit | 512e6fb589bc18f9321457632e89b95017447db9 (patch) | |
| tree | 3468f456af21d3a910c534acc4e31c149ea97384 /net/tipc/node.c | |
| parent | usb: phy: fix link errors (diff) | |
| download | kernel-512e6fb589bc18f9321457632e89b95017447db9.tar.gz kernel-512e6fb589bc18f9321457632e89b95017447db9.zip | |
usb: dwc3: exynos: Fix error handling of clk_prepare_enable
If clk_prepare_enable() fails in dwc3_exynos_probe() or in
dwc3_exynos_resume(), exynos->clks[0] is left undisabled
because of usage preincrement in while condition.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: 9f2168367a0a ("usb: dwc3: exynos: Rework clock handling and prepare for new variants")
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
