commit | f7199cf489027ae38a9a82312d13025f7aefa0b8 | [log] [tgz] |
---|---|---|
author | Sudeep Holla <sudeep.holla@arm.com> | Fri Apr 17 11:32:32 2020 +0100 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Mon Apr 20 17:57:34 2020 +0100 |
tree | 339c0562d1254506b687b1899686bc43e9372668 | |
parent | c5bceb98ce0e4ae8057a386c5171a868213fe226 [diff] |
firmware: arm_scmi: Fix return error code in smc_send_message SMCCC can return NOT_SUPPORTED(-1). Map it to appropriate Linux error codes namely -EOPNOTSUPP. Link: https://lore.kernel.org/r/20200417103232.6896-1-sudeep.holla@arm.com Reported-and-Tested-by:: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>