]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_scmi: Allow PINCTRL_REQUEST to return EOPNOTSUPP
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 23 Mar 2026 19:01:37 +0000 (22:01 +0300)
committerLinus Walleij <linusw@kernel.org>
Tue, 24 Mar 2026 12:50:30 +0000 (13:50 +0100)
commitbf1fbd189d45216dec1f02f6e12fffde9f3b4ea6
tree48f09e1c09f3d4bb899865a7bfd2f14f7fe6597f
parentf20e81322f3a071db248f050c32713b503ae1fa4
firmware: arm_scmi: Allow PINCTRL_REQUEST to return EOPNOTSUPP

The SCMI protocol specification says that the PINCTRL_REQUEST and
PINCTRL_RELEASE commands are optional.  So if the SCMI server returns
-EOPNOTSUPP, then treat that as success and continue.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/firmware/arm_scmi/pinctrl.c