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:
cae9910
)
net: fec: remove redundant ipg clock disable
author
Baruch Siach
<baruch@tkos.co.il>
Wed, 22 May 2019 13:56:15 +0000
(16:56 +0300)
committer
David S. Miller
<davem@davemloft.net>
Thu, 23 May 2019 00:34:03 +0000
(17:34 -0700)
Don't disable the ipg clock in the regulator error path. The clock is
disable unconditionally two lines below the failed_regulator label.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/fec_main.c
b/drivers/net/ethernet/freescale/fec_main.c
index aa7d4e27c5d121497c8511dff2c300a81d351990..f63eb2b57c3e9778396c4c4f19caa8600aa16f1e 100644
(file)
--- a/
drivers/net/ethernet/freescale/fec_main.c
+++ b/
drivers/net/ethernet/freescale/fec_main.c
@@
-3473,7
+3473,6
@@
fec_probe(struct platform_device *pdev)
if (ret) {
dev_err(&pdev->dev,
"Failed to enable phy regulator: %d\n", ret);
- clk_disable_unprepare(fep->clk_ipg);
goto failed_regulator;
}
} else {