From: Álvaro Fernández Rojas Date: Sat, 25 Mar 2023 09:35:19 +0000 (+0100) Subject: kernel: refresh mxl-gpy LED patch X-Git-Tag: v23.05.0-rc1~675 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09115a17058125e1683d90db38dd7b80541f3964;p=openwrt%2Fstaging%2Fpepe2k.git kernel: refresh mxl-gpy LED patch Make the patches apply cleanly again. Fixes: 90691f450543 ("generic: mxl-gpy: allow configuring LED registers") Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/generic/hack-5.15/765-mxl-gpy-control-LED-reg-from-DT.patch b/target/linux/generic/hack-5.15/765-mxl-gpy-control-LED-reg-from-DT.patch index 75014c0528..8de3668def 100644 --- a/target/linux/generic/hack-5.15/765-mxl-gpy-control-LED-reg-from-DT.patch +++ b/target/linux/generic/hack-5.15/765-mxl-gpy-control-LED-reg-from-DT.patch @@ -21,8 +21,6 @@ Signed-off-by: David Bauer drivers/net/phy/mxl-gpy.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) -diff --git a/drivers/net/phy/mxl-gpy.c b/drivers/net/phy/mxl-gpy.c -index 5ce1bf03bbd7..ec10ad5ccad6 100644 --- a/drivers/net/phy/mxl-gpy.c +++ b/drivers/net/phy/mxl-gpy.c @@ -8,6 +8,7 @@ @@ -89,7 +87,7 @@ index 5ce1bf03bbd7..ec10ad5ccad6 100644 static int gpy_config_init(struct phy_device *phydev) { int ret; -@@ -91,7 +123,10 @@ static int gpy_config_init(struct phy_device *phydev) +@@ -91,7 +123,10 @@ static int gpy_config_init(struct phy_de /* Clear all pending interrupts */ ret = phy_read(phydev, PHY_ISTAT); @@ -101,6 +99,3 @@ index 5ce1bf03bbd7..ec10ad5ccad6 100644 } static int gpy_probe(struct phy_device *phydev) --- -2.39.2 -