Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 31 Jan 2022 12:09:17 +0100 | Subject | Re: [PATCH v2] pinctrl: microchip-sgpio: Fix support for regmap |
| |
On Mon, Jan 31, 2022 at 9:50 AM Horatiu Vultur <horatiu.vultur@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@microchip.com> > Reviewed-by: Colin Foster <colin.foster@in-advantage.com> > Fixes: 2afbbab45c261a ("pinctrl: microchip-sgpio: update to support regmap") > Signed-off-by: Horatiu Vultur <horatiu.vultur@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
| |