summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig2
-rw-r--r--drivers/net/designware.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d1cb69f85ad..7ae28c4e0d5 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -662,7 +662,7 @@ config MII
config RMII
bool "Enable RMII"
help
- Enable support of the Reduced Media-Independent Interface (MII)
+ Enable support of the Reduced Media-Independent Interface (RMII)
config PCNET
bool "AMD PCnet series Ethernet controller driver"
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 7ecedc3d7f0..2fd92cf16bb 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -894,7 +894,7 @@ int designware_eth_probe(struct udevice *dev)
if (ret) {
debug("%s: No phy supply\n", dev->name);
} else {
- ret = regulator_set_enable(phy_supply, true);
+ ret = regulator_set_enable_if_allowed(phy_supply, true);
if (ret) {
puts("Error enabling phy supply\n");
return ret;