]> 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)
commit5885b51b0272ae781b7433c748ea2b4ad71e0cdb
tree0e7d77bcfcfbf64623674504510c3c599ef0f1e2
parentc9d698b07998dd08720089ef3e63dab5e663556a
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