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.comReported-and-Tested-by: N: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: NEtienne Carriere <etienne.carriere@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
Showing
想要评论请 注册 或 登录