]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mxl-gpy: cache PHY firmware version
authorMichael Walle <michael@walle.cc>
Tue, 12 Jul 2022 13:15:52 +0000 (15:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 13:18:39 +0000 (14:18 +0100)
commitc3c06b68fb162b2828fb0165ba63fada292fd01f
tree0e7d77bcfcfbf64623674504510c3c599ef0f1e2
parent01ad56860dd9d8a40a282533c6708400006f7fb2
net: phy: mxl-gpy: cache PHY firmware version

Cache the firmware version during probe. There is no need to read the
firmware version on every autonegotiation.

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/mxl-gpy.c