[PATCH] pinctrl: microchip-sgpio: Fix support for regmap

Steen.Hegelund at microchip.com Steen.Hegelund at microchip.com
Thu Jan 27 04:42:58 PST 2022


Good catch Horatiu.

BR
Steen

Acked-by: Steen Hegelund <Steen.Hegelund at 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 at microchip.com>
> ---
...


More information about the linux-arm-kernel mailing list