pinctrl: amd: Don't show `Invalid config param` errors
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 17 Jul 2023 20:16:52 +0000 (15:16 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 23 Jul 2023 19:41:06 +0000 (21:41 +0200)
commit87b549efcb0f7934b0916d2a00607a878b6f1e0f
tree5607de5c7135e185efa1b475d64fe1d3bb8bfede
parentea90ca106c3fbb35508073bd2439ec04d2ff3fc5
pinctrl: amd: Don't show `Invalid config param` errors

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@vger.kernel.org # 6.1
Fixes: 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config options")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230717201652.17168-1-mario.limonciello@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c