[PATCH] pinctrl: fix loop in k210_pinconf_get_drive()

Linus Walleij linus.walleij at linaro.org
Thu Feb 10 17:19:00 PST 2022


On Wed, Feb 9, 2022 at 7:08 PM Dan Carpenter <dan.carpenter at oracle.com> wrote:

> The loop exited too early so the k210_pinconf_drive_strength[0] array
> element was never used.
>
> Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Patch applied for fixes.

Yours,
Linus Walleij



More information about the linux-riscv mailing list