diff options
author | Romain Naour <romain.naour@skf.com> | 2022-09-02 12:16:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-07 11:39:06 +0200 |
commit | 3a8b8ea6c7c298482e54c6abee006c400b7aa568 (patch) | |
tree | bc5839fe22d5982d3e9a406f12b6a984b69e4b6c /drivers/net/dsa/microchip | |
parent | net: dsa: microchip: add KSZ9896 to KSZ9477 I2C driver (diff) | |
download | linux-3a8b8ea6c7c298482e54c6abee006c400b7aa568.tar.xz linux-3a8b8ea6c7c298482e54c6abee006c400b7aa568.zip |
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 <romain.naour@skf.com>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Tested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index b19631d47058..e615a2252fc1 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), |