net: dsa: qca8k: improve internal mdio read/write bus access
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 21:00:12 +0000 (23:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:30:23 +0000 (15:30 -0700)
commitb7ebac354d54f1657bb89b7a7ca149db50203e6a
tree6980b2d74e5174e51454bd89eeee6790b54a961d
parent0c994a28e7518f098c84a3049cb2915780db873a
net: dsa: qca8k: improve internal mdio read/write bus access

Improve the internal mdio read/write bus access by caching the value
without accessing it for every read/write.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c