net: mvpp2: add register modification helper
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 20 Jun 2020 09:21:37 +0000 (10:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2020 04:38:26 +0000 (21:38 -0700)
commitbd45f644a8fd65fc2dd26b4817cb4b1ff68e393d
tree4c5b63ca4408a6d7e53115e39ea5a83d43d21f71
parent6c2b49eb96716e91f202756bfbd3f5fea3b2b172
net: mvpp2: add register modification helper

Add a helper to read-modify-write a register, and use it in the phylink
helpers.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c