Skip to content

Commit 5496270

Browse files
cris-masudeep-holla
authored andcommitted
firmware: arm_scmi: Use vendor string in max-rx-timeout-ms
The original optional property was missing a vendor string prefix; this has been rectified. Fix the naming of such optional property in code too. Cc: Peng Fan <peng.fan@nxp.com> Fixes: 1780e41 ("firmware: arm_scmi: Use max-rx-timeout-ms from devicetree") Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Message-Id: <20241028120151.1301177-8-cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
1 parent 7bf46ec commit 5496270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/firmware/arm_scmi/driver.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,10 +3048,10 @@ static const struct scmi_desc *scmi_transport_setup(struct device *dev)
30483048

30493049
dev_info(dev, "Using %s\n", dev_driver_string(trans->supplier));
30503050

3051-
ret = of_property_read_u32(dev->of_node, "max-rx-timeout-ms",
3051+
ret = of_property_read_u32(dev->of_node, "arm,max-rx-timeout-ms",
30523052
&trans->desc->max_rx_timeout_ms);
30533053
if (ret && ret != -EINVAL)
3054-
dev_err(dev, "Malformed max-rx-timeout-ms DT property.\n");
3054+
dev_err(dev, "Malformed arm,max-rx-timeout-ms DT property.\n");
30553055

30563056
dev_info(dev, "SCMI max-rx-timeout: %dms\n",
30573057
trans->desc->max_rx_timeout_ms);

0 commit comments

Comments
 (0)