]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: phy: icplus: don't set APS_EN bit on IP101G
authorMichael Walle <michael@walle.cc>
Thu, 11 Feb 2021 07:47:47 +0000 (08:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:53:25 +0000 (13:53 -0800)
commiteeac7d43d4dd037882a288edb1c9d41f31f142c1
treee4749456911a7b21f4253b7fbf7ad661bb79ace3
parent675115bf8c3dd51e91aa97cdbc7b14dc0e7e0698
net: phy: icplus: don't set APS_EN bit on IP101G

This bit is reserved as 'always-write-1'. While this is not a particular
error, because we are only setting it, guard it by checking the model to
prevent errors in the future.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c