From: Romain Naour Date: Fri, 2 Sep 2022 10:16:09 +0000 (+0200) Subject: net: dsa: microchip: ksz9477: remove 0x033C and 0x033D addresses from regmap_access_t... X-Git-Tag: v6.1-rc5~319^2~248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a8b8ea6c7c298482e54c6abee006c400b7aa568;p=platform%2Fkernel%2Flinux-starfive.git net: dsa: microchip: ksz9477: remove 0x033C and 0x033D addresses from regmap_access_tables According to the KSZ9477S datasheet, there is no global register at 0x033C and 0x033D addresses. Signed-off-by: Romain Naour Cc: Oleksij Rempel Tested-by: Oleksij Rempel Signed-off-by: David S. Miller --- diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index b19631d..e615a22 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -547,7 +547,8 @@ static const struct regmap_range ksz9477_valid_regs[] = { regmap_reg_range(0x0302, 0x031b), regmap_reg_range(0x0320, 0x032b), regmap_reg_range(0x0330, 0x0336), - regmap_reg_range(0x0338, 0x033e), + regmap_reg_range(0x0338, 0x033b), + regmap_reg_range(0x033e, 0x033e), regmap_reg_range(0x0340, 0x035f), regmap_reg_range(0x0370, 0x0370), regmap_reg_range(0x0378, 0x0378),