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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Jun 2017 05:13:10 +0000 (07:13 +0200)
commit94695386c79caccd82bf4048da642e6c9643fb92
tree3caeff19634bfedb3a0b182100784a8f4899c909
parentaac7fa215e8fc795287328c2914aa123e7538690
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