]> git.baikalelectronics.ru Git - kernel.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)
commit717969544352594cc356502dbcc0f1691e8e0d8c
treee4749456911a7b21f4253b7fbf7ad661bb79ace3
parenteca131861cdfabca00dc930b682d2422203deb22
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