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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 Jan 2017 08:03:59 +0000 (10:03 +0200)
commit8ae584d1951f241efd45499f8774fd7066f22823
treec736c17d6e57bfb5a6f57e956fa8c406f1775ded
parent866932e2771f35d20ed2f1865bcf6af8dba765bb
usb: dwc3: exynos fix axius clock error path to do cleanup

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>
drivers/usb/dwc3/dwc3-exynos.c