Messages in this thread | | | From | <> | Subject | Re: [PATCH] pinctrl: microchip-sgpio: Fix support for regmap | Date | Thu, 27 Jan 2022 12:42:58 +0000 |
| |
Good catch Horatiu.
BR Steen
Acked-by: Steen Hegelund <Steen.Hegelund@microchip.com>
On Tue, 2022-01-25 at 17:12 +0100, Horatiu Vultur 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. > > Fixes: 2afbbab45c261a ("pinctrl: microchip-sgpio: update to support regmap") > Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> > --- ...
| |