pinctrl: amd: Don't show `Invalid config param` errors
Subsystems (3)
PATCH 1/1 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.
--- drivers/pinctrl/pinctrl-amd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pinctrl/pinctrl-amd.c +2 -2
@@ -748,7 +748,7 @@ static int amd_pinconf_get(struct pinctrl_dev *pctldev,break ;default : -dev_err (&gpio_dev->pdev->dev,"Invalid config param %04x\n" , +dev_dbg (&gpio_dev->pdev->dev,"Invalid config param %04x\n" , param);return -ENOTSUPP ; }
@@ -798,7 +798,7 @@ static int amd_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin,break ;default : -dev_err (&gpio_dev->pdev->dev, +dev_dbg (&gpio_dev->pdev->dev,"Invalid config param %04x\n" , param); ret = -ENOTSUPP ; }
Signature · 1 line
2.34.1
Quoted 10 lines · Mario Limonciello
On some systems
amd_pinconf_set()is called with parameters0x8(PIN_CONFIG_DRIVE_PUSH_PULL) or0x14(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 [email protected] # 6.1Fixes 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config options")Signed-off-by Mario Limonciello <[email protected]>
Applied for nonurgent fixes.
Yours,
Linus Walleij
Quoted 7 lines · Linus Walleij
Quoted 4 lines · Mario Limonciello
On some systems
amd_pinconf_set()is called with parameters0x8(PIN_CONFIG_DRIVE_PUSH_PULL) or0x14(PIN_CONFIG_PERSIST_STATE) which are not supported by pinctrl-amd.
Quoted 9 lines
Quoted 6 lines
Don't show an err message when called with an invalid parameter, downgrade this to debug instead.
Cc [email protected] # 6.1Fixes 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config options")Signed-off-by Mario Limonciello <[email protected]>Applied for nonurgent fixes.
Just wanted to check if you'll be sending this out for -rc6. It backported to stable and a few bugs cropped up because it's noisy.
Quoted 15 lines · Mario Limonciello
Quoted 14 lines · Linus Walleij
Quoted 10 lines · Mario Limonciello
On some systems
amd_pinconf_set()is called with parameters0x8(PIN_CONFIG_DRIVE_PUSH_PULL) or0x14(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 [email protected] # 6.1Fixes 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config options")Signed-off-by Mario Limonciello <[email protected]>
Quoted 5 lines
Quoted 2 lines
Applied for nonurgent fixes.
Just wanted to check if you'll be sending this out for -rc6. It backported to stable and a few bugs cropped up because it's noisy.
No, nonurgent means I queue it for v6.6. Fear of causing regressions on mainline is the reason to not send fixes unless they are urgent.
Yours,
Linus Walleij
Quoted 20 lines · Linus Walleij
Quoted 18 lines · Mario Limonciello
Quoted 16 lines · Linus Walleij
Quoted 10 lines · Mario Limonciello
On some systems
amd_pinconf_set()is called with parameters0x8(PIN_CONFIG_DRIVE_PUSH_PULL) or0x14(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 [email protected] # 6.1Fixes 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config options")Signed-off-by Mario Limonciello <[email protected]>Applied for nonurgent fixes.
Quoted 8 lines
Quoted 2 lines
Just wanted to check if you'll be sending this out for -rc6. It backported to stable and a few bugs cropped up because it's noisy.
No, nonurgent means I queue it for v6.6. Fear of causing regressions on mainline is the reason to not send fixes unless they are urgent.
Yours,
Linus Walleij
Understood, thanks. I'll let reporters know to wait until 6.6 then for this particular fix.