phy: ath79-usb: Fix the power on error path
authorAlban Bedel <albeu@free.fr>
Mon, 7 Jan 2019 19:44:53 +0000 (20:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2019 16:58:48 +0000 (17:58 +0100)
commite55af638c4f4f520e259f8c12e1601b6dd17bed4
treee88b0d2f8be92cebdde18297b74dff9f25796dff
parentfc8176da28b51794f44cf95c2e5a7604ad4d9b8e
phy: ath79-usb: Fix the power on error path

[ Upstream commit 009808154c69c48d5b41fc8cf5ad5ab5704efd8f ]

In the power on function the error path doesn't return the suspend
override to its proper state. It should should deassert this reset
line to enable the suspend override.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/qualcomm/phy-ath79-usb.c