Re: [PATCH] pinctrl: amd: Don't show `Invalid config param` errors

From: Linus Walleij
Date: Sun Jul 23 2023 - 15:42:25 EST


On Mon, Jul 17, 2023 at 10:17 PM Mario Limonciello
<mario.limonciello@xxxxxxx> wrote:

> On some systems amd_pinconf_set() is called with parameters
> 0x8 (PIN_CONFIG_DRIVE_PUSH_PULL) or 0x14 (PIN_CONFIG_PERSIST_STATE)
> which are not supported by pinctrl-amd.
>
> Don't show an err message when called with an invalid parameter,
> downgrade this to debug instead.
>
> Cc: stable@xxxxxxxxxxxxxxx # 6.1
> Fixes: 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config options")
> Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>

Applied for nonurgent fixes.

Yours,
Linus Walleij