]> git.baikalelectronics.ru Git - kernel.git/commit
phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure
authorWang Li <wangli74@huawei.com>
Thu, 26 Nov 2020 02:44:12 +0000 (10:44 +0800)
committerVinod Koul <vkoul@kernel.org>
Sat, 5 Dec 2020 08:06:12 +0000 (13:36 +0530)
commit9672f8dbf91a8f4685c910ad9830664cebb3e737
tree9651c32421622db1bf96bfa11a5cdca46d6e4a3f
parent645eabc0d76a75d5e34eaf100339187a65fe68a8
phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure

pm_runtime_enable() will decrease power disable depth. Thus a pairing
increment is needed on the error handling path to keep it balanced.

Fixes: 9e11c8c335c5 ("phy: rcar-gen3-usb2: Add support for r8a77470")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Li <wangli74@huawei.com>
Link: https://lore.kernel.org/r/20201126024412.4046845-1-wangli74@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/renesas/phy-rcar-gen3-usb2.c