Revert "net: dsa: vsc73xx: pass value in phy_write operation"

This reverts commit 3c0fd5c577.
This commit is contained in:
Ksawlii 2024-11-24 00:23:53 +01:00
parent f4d0eedded
commit 7dd6e87cff

View file

@ -531,7 +531,7 @@ static int vsc73xx_phy_write(struct dsa_switch *ds, int phy, int regnum,
return 0;
}
cmd = (phy << 21) | (regnum << 16) | val;
cmd = (phy << 21) | (regnum << 16);
ret = vsc73xx_write(vsc, VSC73XX_BLOCK_MII, 0, 1, cmd);
if (ret)
return ret;