]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: improve qca8k read/write/rmw bus access
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 20:59:53 +0000 (22:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:30:22 +0000 (15:30 -0700)
commitaaf68ea07d44673ab8eff0571502cb762a1e9e7a
tree3d1f8acef6fb22c5981a8cf55a353e83f5fe6a34
parent86308b294056a648ec92630e52725657aff043cf
net: dsa: qca8k: improve qca8k read/write/rmw bus access

Put bus in local variable to improve faster access to the mdio bus.

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