[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241219123106.730032-3-tobias@waldekranz.com>
Date: Thu, 19 Dec 2024 13:30:41 +0100
From: Tobias Waldekranz <tobias@...dekranz.com>
To: davem@...emloft.net,
kuba@...nel.org
Cc: andrew@...n.ch,
f.fainelli@...il.com,
olteanv@...il.com,
netdev@...r.kernel.org,
linux@...linux.org.uk,
chris.packham@...iedtelesis.co.nz,
pabeni@...hat.com
Subject: [PATCH v2 net 2/4] net: dsa: mv88e6xxx: Give chips more time to activate their PPUs
In a daisy-chain of three 6393X devices, delays of up to 750ms are
sometimes observed before completion of PPU initialization (Global 1,
register 0, bit 15) is signaled. Therefore, allow chips more time
before giving up.
Signed-off-by: Tobias Waldekranz <tobias@...dekranz.com>
---
drivers/net/dsa/mv88e6xxx/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c
index 46926b769460..c7683ea334a7 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.c
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
@@ -92,7 +92,7 @@ int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val)
static int _mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg,
u16 mask, u16 val, u16 *last)
{
- const unsigned long timeout = jiffies + msecs_to_jiffies(50);
+ const unsigned long timeout = jiffies + msecs_to_jiffies(2000);
u16 data;
int err;
int i;
--
2.43.0
Powered by blists - more mailing lists