The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
--- Begin Message ---
This is only a cosmetic correction, as the driver works as expected.
However, the error message confuses users about a missing reset definition.

On a defered init we don't see the following error message now:
[    0.078292] ar7200-usb-phy usb-phy: phy reset is missing

Tested-by: Lech Perczak <lech.perc...@gmail.com>
Signed-off-by: Johann Neuhauser <joh...@it-neuhauser.de>
---
 .../ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch     | 5 +++--
 .../ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch      | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/target/linux/ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch 
b/target/linux/ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch
index fa3487d392..3629e6e875 100644
--- a/target/linux/ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch
+++ b/target/linux/ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch
@@ -194,7 +194,7 @@ Signed-off-by: John Crispin <j...@phrozen.org>
 +MODULE_LICENSE("GPL");
 --- /dev/null
 +++ b/drivers/phy/phy-ar7200-usb.c
-@@ -0,0 +1,135 @@
+@@ -0,0 +1,136 @@
 +/*
 + * Copyright (C) 2015 Alban Bedel <al...@free.fr>
 + *
@@ -265,7 +265,8 @@ Signed-off-by: John Crispin <j...@phrozen.org>
 +
 +      priv->rst_phy = devm_reset_control_get(&pdev->dev, "usb-phy");
 +      if (IS_ERR(priv->rst_phy)) {
-+              dev_err(&pdev->dev, "phy reset is missing\n");
++              if (PTR_ERR(priv->rst_phy) != -EPROBE_DEFER)
++                      dev_err(&pdev->dev, "phy reset is missing\n");
 +              return PTR_ERR(priv->rst_phy);
 +      }
 +
diff --git a/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch 
b/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch
index 7956edb937..e319f738a5 100644
--- a/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch
+++ b/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch
@@ -194,7 +194,7 @@ Signed-off-by: John Crispin <j...@phrozen.org>
 +MODULE_LICENSE("GPL");
 --- /dev/null
 +++ b/drivers/phy/phy-ar7200-usb.c
-@@ -0,0 +1,135 @@
+@@ -0,0 +1,136 @@
 +/*
 + * Copyright (C) 2015 Alban Bedel <al...@free.fr>
 + *
@@ -265,7 +265,8 @@ Signed-off-by: John Crispin <j...@phrozen.org>
 +
 +      priv->rst_phy = devm_reset_control_get(&pdev->dev, "usb-phy");
 +      if (IS_ERR(priv->rst_phy)) {
-+              dev_err(&pdev->dev, "phy reset is missing\n");
++              if (PTR_ERR(priv->rst_phy) != -EPROBE_DEFER)
++                      dev_err(&pdev->dev, "phy reset is missing\n");
 +              return PTR_ERR(priv->rst_phy);
 +      }
 +
-- 
2.20.1



--- End Message ---
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to