]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: airoha: Fix return value in pinconf callbacks
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 22 Aug 2025 12:14:18 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Sep 2025 14:55:29 +0000 (16:55 +0200)
commit437b883a58354d10eeaf18dc5e45a183e91507a8
treedfa8c18fded379b3f494df2c31979aa3fbee1d2f
parent548998501eaf878a74dbe1219ba56662ba58841c
pinctrl: airoha: Fix return value in pinconf callbacks

[ Upstream commit 563fcd6475931c5c8c652a4dd548256314cc87ed ]

Pinctrl stack requires ENOTSUPP error code if the parameter is not
supported by the pinctrl driver. Fix the returned error code in pinconf
callbacks if the operation is not supported.

Fixes: 1c8ace2d0725 ("pinctrl: airoha: Add support for EN7581 SoC")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/20250822-airoha-pinconf-err-val-fix-v1-1-87b4f264ced2@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/mediatek/pinctrl-airoha.c