diff options
author | yjun | 2022-05-26 15:23:06 +0800 |
---|---|---|
committer | yjun | 2022-05-26 15:23:06 +0800 |
commit | 4047db0f896895cc59e490ee8f6872b93dd8386d (patch) | |
tree | b62d64d9bd35d2b2907ed59b76b480b0e9f57650 /net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch | |
parent | d66c7d0fc0b35270f9fe591a311563cc0d851555 (diff) | |
download | aur-4047db0f896895cc59e490ee8f6872b93dd8386d.tar.gz |
updpkg: linux-tqc-a01 5.18.0
Diffstat (limited to 'net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch')
-rw-r--r-- | net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch b/net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch index a371a65ffa42..dfd9c05f1dae 100644 --- a/net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch +++ b/net-stmmac-sun8i-Use-devm_regulator_get-for-PHY-regulator.patch @@ -41,10 +41,8 @@ index 09644ab0d87a..c0c8ce1f8b00 100644 + return ret; } - ret = clk_prepare_enable(gmac->tx_clk); -@@ -1045,8 +1043,7 @@ static void sun8i_dwmac_exit(struct platform_device *pdev, void *priv) - - clk_disable_unprepare(gmac->tx_clk); + if (gmac->use_internal_phy) { +@@ -1045,6 +1043,5 @@ static void sun8i_dwmac_exit(struct platform_device *pdev, void *priv) - if (gmac->regulator) - regulator_disable(gmac->regulator); |