diff options
author | Horatiu Vultur <[email protected]> | 2022-01-31 09:52:01 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-01-31 12:07:31 +0100 |
commit | baf927a833ca2c6717795ac131079f485cb7a5dc (patch) | |
tree | 46a1d79638c2eeb202d5fba81f511375d0fd017f /net/switchdev/switchdev.c | |
parent | 3a5286955bf5febc3d151bcb2c5e272e383b64aa (diff) |
pinctrl: microchip-sgpio: Fix support for regmap
Initially the driver accessed the registers using u32 __iomem but then
in the blamed commit it changed it to use regmap. The problem is that now
the offset of the registers is not calculated anymore at word offset but
at byte offset. Therefore make sure to multiply the offset with word size.
Acked-by: Steen Hegelund <[email protected]>
Reviewed-by: Colin Foster <[email protected]>
Fixes: 2afbbab45c261a ("pinctrl: microchip-sgpio: update to support regmap")
Signed-off-by: Horatiu Vultur <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions