usb: dwc3: exynos fix axius clock error path to do cleanup
authorShuah Khan <shuahkh@osg.samsung.com>
Tue, 10 Jan 2017 23:05:28 +0000 (16:05 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:01:30 +0000 (03:01 +0000)
commit9cf80c3be3e3e9692f7641e4cf65f3563fbbc273
tree6a2f3adcbaf8b1f0b27e85302311390f85a6dc11
parent6e6d194423aa51c521e1201104687dbd366ee50d
usb: dwc3: exynos fix axius clock error path to do cleanup

commit 8ae584d1951f241efd45499f8774fd7066f22823 upstream.

Axius clock error path returns without disabling clock and suspend clock.
Fix it to disable them before returning error.

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-exynos.c