phy: ath79-usb: fix the suspend override reset name
PATCH 1/1 phy: ath79-usb: fix the suspend override reset name
The driver gets the suspend override reset as "usb-suspend-override", but the binding and both device trees that use it call it "suspend-override". The reset is optional, so the lookup silently comes back empty and the suspend override has never been used.
This is the same binding update that commit 827cb0323928 ("phy:
ath79-usb: Fix the main reset name to match the DT binding") followed for the main reset. Follow it for the suspend override as well.
Fixes cd3bf368aa7a ("phy: Add a driver for the ATH79 USB phy")
Signed-off-by Rosen Penev <[email protected]>
--- drivers/phy/qualcomm/phy-ath79-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/qualcomm/phy-ath79-usb.c +1 -1
@@ -74,7 +74,7 @@ static int ath79_usb_phy_probe(struct platform_device *pdev)return PTR_ERR (priv->reset); priv->no_suspend_override =devm_reset_control_get_optional ( - &pdev->dev,"usb-suspend-override" ); + &pdev->dev,"suspend-override" );if (IS_ERR (priv->no_suspend_override))return PTR_ERR (priv->no_suspend_override);
Signature · 1 line
2.56.0