Skip to content

Commit 3ad3b8a

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
lan78xx: Don't reset the interface on open
With Alexander Graf's patch ("lan78xx: Connect phy early") applied, the call to lan78xx_reset within lan78xx_open prevents the phy interrupt from being generated (even though the link is up). Avoid this issue by removing the lan78xx_reset call. See: #2437 #2442 #2457
1 parent 5be2dc7 commit 3ad3b8a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/usb/lan78xx.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,10 +2563,6 @@ static int lan78xx_open(struct net_device *net)
25632563
if (ret < 0)
25642564
goto out;
25652565

2566-
ret = lan78xx_reset(dev);
2567-
if (ret < 0)
2568-
goto done;
2569-
25702566
phy_start(net->phydev);
25712567

25722568
netif_dbg(dev, ifup, dev->net, "phy initialised successfully");

0 commit comments

Comments
 (0)