summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scmi/voltage.c
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2023-11-14 14:54:49 +0000
committerSudeep Holla <sudeep.holla@arm.com>2023-11-14 15:01:01 +0000
commite4e6e8f1ad0f3d6c4d87045aa4d0fa4b7496182a (patch)
tree912baa32f4cd2979c61aa77312b0b24b65013d64 /drivers/firmware/arm_scmi/voltage.c
parent619bc6e034f3ec3ab88eba856f2f4ffdec26ea38 (diff)
downloadlinux-stable-e4e6e8f1ad0f3d6c4d87045aa4d0fa4b7496182a.tar.gz
linux-stable-e4e6e8f1ad0f3d6c4d87045aa4d0fa4b7496182a.tar.bz2
linux-stable-e4e6e8f1ad0f3d6c4d87045aa4d0fa4b7496182a.zip
firmware: arm_scmi: Add optional flags to extended names helper
Some recently added SCMI protocols needs an additional flags parameter to be able to properly configure the command used to query the extended name of a resource. Modify extended_name_get helper accordingly. Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Link: https://lore.kernel.org/r/20231114145449.3136412-1-cristian.marussi@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/voltage.c')
-rw-r--r--drivers/firmware/arm_scmi/voltage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/voltage.c b/drivers/firmware/arm_scmi/voltage.c
index eaa8d944926a..36e2df77738c 100644
--- a/drivers/firmware/arm_scmi/voltage.c
+++ b/drivers/firmware/arm_scmi/voltage.c
@@ -242,7 +242,7 @@ static int scmi_voltage_descriptors_get(const struct scmi_protocol_handle *ph,
if (SUPPORTS_EXTENDED_NAMES(attributes))
ph->hops->extended_name_get(ph,
VOLTAGE_DOMAIN_NAME_GET,
- v->id, v->name,
+ v->id, NULL, v->name,
SCMI_MAX_STR_SIZE);
if (SUPPORTS_ASYNC_LEVEL_SET(attributes))
v->async_level_set = true;