projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fae927
)
phy: ath79-usb: Fix the power on error path
author
Alban Bedel
<
[email protected]
>
Mon, 7 Jan 2019 19:44:53 +0000
(20:44 +0100)
committer
Kishon Vijay Abraham I
<
[email protected]
>
Wed, 16 Jan 2019 12:30:55 +0000
(18:00 +0530)
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 <
[email protected]
>
Signed-off-by: Kishon Vijay Abraham I <
[email protected]
>
drivers/phy/qualcomm/phy-ath79-usb.c
patch
|
blob
|
history
diff --git
a/drivers/phy/qualcomm/phy-ath79-usb.c
b/drivers/phy/qualcomm/phy-ath79-usb.c
index 6fd6e07ab345f6813c8285038206dad2ff3c1726..f7d64f3910b4d206f2598ddf6c141eea237ba6cb 100644
(file)
--- a/
drivers/phy/qualcomm/phy-ath79-usb.c
+++ b/
drivers/phy/qualcomm/phy-ath79-usb.c
@@
-31,7
+31,7
@@
static int ath79_usb_phy_power_on(struct phy *phy)
err = reset_control_deassert(priv->reset);
if (err && priv->no_suspend_override)
- reset_control_assert(priv->no_suspend_override);
+ reset_control_
de
assert(priv->no_suspend_override);
return err;
}