This patchset cleans up KSZ9477 switch driver by replacing various ad-hoc polling implementations and register RMW with regmap functions.
Each polling function is replaced separately to make it easier to review and possibly bisect, but maybe the patches can be squashed. Signed-off-by: Marek Vasut <ma...@denx.de> Cc: Andrew Lunn <and...@lunn.ch> Cc: Florian Fainelli <f.faine...@gmail.com> Cc: Tristram Ha <tristram...@microchip.com> Cc: Woojung Huh <woojung....@microchip.com> Marek Vasut (5): net: dsa: microchip: Replace ad-hoc polling with regmap net: dsa: microchip: Replace ksz9477_wait_vlan_ctrl_ready polling with regmap net: dsa: microchip: Replace ksz9477_wait_alu_ready polling with regmap net: dsa: microchip: Replace ksz9477_wait_alu_sta_ready polling with regmap net: dsa: microchip: Replace bit RMW with regmap drivers/net/dsa/microchip/ksz9477.c | 128 +++++++++---------------- drivers/net/dsa/microchip/ksz_common.h | 14 --- 2 files changed, 47 insertions(+), 95 deletions(-) -- 2.20.1