[PATCH v2] pinctrl: microchip-sgpio: Fix support for regmap
Linus Walleij
linus.walleij at linaro.org
Mon Jan 31 03:09:17 PST 2022
On Mon, Jan 31, 2022 at 9:50 AM Horatiu Vultur
<horatiu.vultur at microchip.com> wrote:
> 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 <Steen.Hegelund at microchip.com>
> Reviewed-by: Colin Foster <colin.foster at in-advantage.com>
> Fixes: 2afbbab45c261a ("pinctrl: microchip-sgpio: update to support regmap")
> Signed-off-by: Horatiu Vultur <horatiu.vultur at microchip.com>
Patch applied for fixes.
I didn't get last weeks fixes to Torvalds this weekend because linux-next
wasn't being compiled, will send the lot with this on top this week.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list