[PATCH] pinctrl: at91-pio4: Fix slew rate disablement

Linus Walleij linus.walleij at linaro.org
Sat Apr 10 01:08:39 BST 2021


On Fri, Apr 9, 2021 at 10:25 AM Tudor Ambarus
<tudor.ambarus at microchip.com> wrote:

> The slew rate was enabled by default for each configuration of the
> pin. In case the pin had more than one configuration, even if
> we set the slew rate as disabled in the device tree, the next pin
> configuration would set again the slew rate enabled by default,
> overwriting the slew rate disablement.
> Instead of enabling the slew rate by default for each pin configuration,
> enable the slew rate by default just once per pin, regardless of the
> number of configurations. This way the slew rate disablement will also
> work for cases where pins have multiple configurations.
>
> Fixes: 440b144978ba ("pinctrl: at91-pio4: add support for slew-rate")
> Signed-off-by: Tudor Ambarus <tudor.ambarus at microchip.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list