linux/drivers/firmware/arm_scmi
Sudeep Holla f7199cf489 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>
2020-04-20 17:57:34 +01:00
..
base.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
bus.c firmware: arm_scmi: Skip protocol initialisation for additional devices 2019-12-24 11:36:26 +00:00
clock.c firmware: arm_scmi: Stash version in protocol init functions 2019-12-24 11:35:49 +00:00
common.h firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
driver.c firmware: arm_scmi: Fix handling of unexpected delayed responses 2020-04-20 17:25:26 +01:00
mailbox.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
Makefile firmware: arm_scmi: Add smc/hvc transport 2020-04-14 09:31:48 +01:00
perf.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
power.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
reset.c firmware: arm_scmi: Stash version in protocol init functions 2019-12-24 11:35:49 +00:00
scmi_pm_domain.c firmware: arm_scmi: Match scmi device by both name and protocol id 2019-12-24 11:35:49 +00:00
sensors.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
shmem.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
smc.c firmware: arm_scmi: Fix return error code in smc_send_message 2020-04-20 17:57:34 +01:00