aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-10-23 00:26:23 +0200
committerDavid Bauer <mail@david-bauer.net>2019-10-23 01:17:28 +0200
commit7be79a3ab2861ca815d448e4055bcdce316a6c92 (patch)
tree82cf9699184adef5de0098ee44fd3cb69fefc39e /target/linux
parentd2638837964bbd1a1ba897cdecb27cec8ed0d38d (diff)
downloadupstream-7be79a3ab2861ca815d448e4055bcdce316a6c92.tar.gz
upstream-7be79a3ab2861ca815d448e4055bcdce316a6c92.tar.bz2
upstream-7be79a3ab2861ca815d448e4055bcdce316a6c92.zip
ipq40xx: fix ethernet probe abort on missing phy-reset
This commit completely fixes the abortion of the ipq40xx ethernet driver probe in case no phy-reset is defined. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq40xx/patches-4.19/700-net-add-qualcomm-mdio.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/patches-4.19/700-net-add-qualcomm-mdio.patch b/target/linux/ipq40xx/patches-4.19/700-net-add-qualcomm-mdio.patch
index a37c1e36f8..20d0faa472 100644
--- a/target/linux/ipq40xx/patches-4.19/700-net-add-qualcomm-mdio.patch
+++ b/target/linux/ipq40xx/patches-4.19/700-net-add-qualcomm-mdio.patch
@@ -186,7 +186,7 @@ index 000000000..88fe5dc2b
+ ret = of_get_named_gpio(mdio_node, "phy-reset-gpio", 0);
+ if (ret < 0) {
+ dev_err(&pdev->dev, "Could not find phy-reset-gpio\n");
-+ return ret;
++ return 0;
+ }
+
+ phy_reset_gpio_number = ret;