diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-07-13 22:37:50 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-07-18 12:22:43 +0300 |
commit | ba9c4745fca70bf773b2d5c602dcd85d1a40b07a (patch) | |
tree | f3c6aea7b34a68cc325dfa89b0a3a84475dc1cfd /drivers/fpga | |
parent | dc62db7138aa9365480254dda4c3e1316b1b1bbc (diff) | |
download | linux-ba9c4745fca70bf773b2d5c602dcd85d1a40b07a.tar.xz |
pinctrl: ocelot: Fix pincfg
The blamed commit changed to use regmaps instead of __iomem. But it
didn't update the register offsets to be at word offset, so it uses byte
offset.
Another issue with the same commit is that it has a limit of 32 registers
which is incorrect. The sparx5 has 64 while lan966x has 77.
Fixes: 076d9e71bcf8 ("pinctrl: ocelot: convert pinctrl to regmap")
Acked-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20220713193750.4079621-3-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions