Skip to contentSkip to conversation

net: ravb: Remove writeext function call

PATCH New Biju Das 2 participants 2 messages Sep 22, 2020 Network drivers

lore
Share & tools
lore

Biju Das

author
#0 lore raw

PATCH 1/1 net: ravb: Remove writeext function call

The micrel phy driver is already configuring this values from device tree. So remove the redundant phy configuration call from this driver.

---
Tested on RCar M3N board, the final configuration value is same. rxc-skew-ps 19
ksz90x1_of_config_group Final:1f9

---
 drivers/net/ravb.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ravb.c +0 -2
index 886f53ee82..98883cd15b 100644
@@ -438,8 +438,6 @@ static int ravb_config(struct udevice *dev)
 
 	writel(mask, eth->iobase + RAVB_REG_ECMR);
 
-	phy->drv->writeext(phy, -1, 0x02, 0x08, (0x0f << 5) | 0x19);
-
 	return 0;
 }
 
Signature · 1 line
2.17.1
Applied
#1 lore raw

PATCH 1/1 net: ravb: Remove writeext function call

Quoted 3 lines · Biju Das

The micrel phy driver is already configuring this values from device tree. So remove the redundant phy configuration call from this driver.

Applied to sh/next, thanks