]> git.baikalelectronics.ru Git - kernel.git/commit
phy: rockchip-typec: add pm_runtime_disable in err case
authorChris Zhong <zyw@rock-chips.com>
Thu, 8 Sep 2016 17:38:11 +0000 (10:38 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 15 Dec 2017 10:30:40 +0000 (16:00 +0530)
commit45674eb39c87914e85b5f392cdf77a23a185e1ed
tree9df9c73e6d2d529140433ca5c1eee910ebe07d93
parentc583a734339e1f9f356b8a43ddfd72554867a609
phy: rockchip-typec: add pm_runtime_disable in err case

Add pm_runtime_disable in err case to make the pm_runtime_enable/disable
is invoked balanced.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/rockchip/phy-rockchip-typec.c