Revert "net: dsa: vsc73xx: pass value in phy_write operation"
This reverts commit 3c0fd5c577
.
This commit is contained in:
parent
f4d0eedded
commit
7dd6e87cff
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue