ath79: Refresh kernel patches
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Sep 2024 09:24:40 +0000 (11:24 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Sep 2024 09:24:40 +0000 (11:24 +0200)
Make the patches apply cleanly again.

Fixes: 3660ddb8ab6e ("generic: ar8216: remove support for Linux before version 6.1")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ath79/patches-6.6/730-ar8216-make-reg-access-atomic.patch

index 02f763534e43ab2e40e337afe66dd8d10cf1070a..16d90056999ecfb7afa8ae721f27f1c564bb6ced 100644 (file)
@@ -14,7 +14,7 @@ with interrupts used.
 ---
 --- a/drivers/net/phy/ar8216.c
 +++ b/drivers/net/phy/ar8216.c
-@@ -252,6 +252,7 @@ ar8xxx_mii_write32(struct ar8xxx_priv *p
+@@ -251,6 +251,7 @@ ar8xxx_mii_write32(struct ar8xxx_priv *p
  u32
  ar8xxx_read(struct ar8xxx_priv *priv, int reg)
  {
@@ -22,7 +22,7 @@ with interrupts used.
        struct mii_bus *bus = priv->mii_bus;
        u16 r1, r2, page;
        u32 val;
-@@ -259,11 +260,13 @@ ar8xxx_read(struct ar8xxx_priv *priv, in
+@@ -258,11 +259,13 @@ ar8xxx_read(struct ar8xxx_priv *priv, in
        split_addr((u32) reg, &r1, &r2, &page);
  
        mutex_lock(&bus->mdio_lock);
@@ -36,7 +36,7 @@ with interrupts used.
        mutex_unlock(&bus->mdio_lock);
  
        return val;
-@@ -272,17 +275,20 @@ ar8xxx_read(struct ar8xxx_priv *priv, in
+@@ -271,17 +274,20 @@ ar8xxx_read(struct ar8xxx_priv *priv, in
  void
  ar8xxx_write(struct ar8xxx_priv *priv, int reg, u32 val)
  {