phy: omap-usb2: invoke pm_runtime_disable on error path
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 4 May 2015 16:37:33 +0000 (22:07 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 12 May 2015 15:27:19 +0000 (20:57 +0530)
commit4581f798ec7373bea4530b7e57e6c6842f132bbd
tree5f44454cbb9bf7f3fdda8a94719f1949a8f57871
parent7f7a4d306ff87502dc26860f54e798693cf9b1e1
phy: omap-usb2: invoke pm_runtime_disable on error path

if devm_clk_get for wkupclk fails, there will be an unbalanced
pm_runtime_enable. Fix it here.

Reported-by: Benoit Parrot <bparrot@ti.com>
Cc: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-omap-usb2.c