aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2021-10-01 21:06:27 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-10-24 16:56:17 +0200
commitd888ef5668a9243259381c57439ab5486009b05b (patch)
treeb4aaf8354ecce901aecca7256246354c854d5395 /target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch
parentdee819272ac2e62ecfb59905d2172e60ddce0bf5 (diff)
downloadupstream-d888ef5668a9243259381c57439ab5486009b05b.tar.gz
upstream-d888ef5668a9243259381c57439ab5486009b05b.tar.bz2
upstream-d888ef5668a9243259381c57439ab5486009b05b.zip
kernel: 5.10: backport QCA83x PHY resume fix, DAC amplitude preferred master, debug reg names
Backport workaround for QCA8327 PHY resume, which does not properly support genphy_suspend/resume. Also add DAC amplitude fix for the QCA8327 PHY, set port to preferred master and add proper names to debug regs. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch')
-rw-r--r--target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch b/target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch
index 5caed73372..c49bb19601 100644
--- a/target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch
+++ b/target/linux/generic/pending-5.10/730-net-phy-at803x-fix-feature-detection.patch
@@ -20,7 +20,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
-@@ -1025,6 +1025,34 @@ static int at803x_set_tunable(struct phy
+@@ -1032,6 +1032,34 @@ static int at803x_set_tunable(struct phy
}
}
@@ -55,7 +55,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
static int at803x_cable_test_result_trans(u16 status)
{
switch (FIELD_GET(AT803X_CDT_STATUS_STAT_MASK, status)) {
-@@ -1274,7 +1302,7 @@ static struct phy_driver at803x_driver[]
+@@ -1364,7 +1392,7 @@ static struct phy_driver at803x_driver[]
.resume = at803x_resume,
.read_page = at803x_read_page,
.write_page = at803x_write_page,