[PATCH] pinctrl: stm32: Print invalid AF warning inside stm32_pctrl_is_function_valid()
Linus Walleij
linus.walleij at linaro.org
Thu Apr 8 08:29:10 BST 2021
On Tue, Apr 6, 2021 at 8:00 PM Marek Vasut <marex at denx.de> wrote:
> The "invalid function %d on pin %d .\n" message is triplicated in the
> driver in different variants, just pull it into the function and have
> it once in the driver. The bonus is that all variants of the message
> now print the pin number and AF consistently, so it is easier to debug
> such pinmux problems.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabien Dessenne <fabien.dessenne at st.com>
> Cc: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> To: linux-arm-kernel at lists.infradead.org
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list