]> Git Repo - J-linux.git/commitdiff
firmware: arm_scmi: Use vendor string in max-rx-timeout-ms
authorCristian Marussi <[email protected]>
Mon, 28 Oct 2024 12:01:51 +0000 (12:01 +0000)
committerSudeep Holla <[email protected]>
Mon, 28 Oct 2024 14:49:27 +0000 (14:49 +0000)
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 <[email protected]>
Fixes: 1780e411ef94 ("firmware: arm_scmi: Use max-rx-timeout-ms from devicetree")
Signed-off-by: Cristian Marussi <[email protected]>
Message-Id: <20241028120151.1301177[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
drivers/firmware/arm_scmi/driver.c

index 5bd4cc68a3e314ab66a30a9c347f1aa4a9554eec..f8934d049d686fd9831c3dab571f40d7154a25fe 100644 (file)
@@ -3048,10 +3048,10 @@ static const struct scmi_desc *scmi_transport_setup(struct device *dev)
 
        dev_info(dev, "Using %s\n", dev_driver_string(trans->supplier));
 
-       ret = of_property_read_u32(dev->of_node, "max-rx-timeout-ms",
+       ret = of_property_read_u32(dev->of_node, "arm,max-rx-timeout-ms",
                                   &trans->desc->max_rx_timeout_ms);
        if (ret && ret != -EINVAL)
-               dev_err(dev, "Malformed max-rx-timeout-ms DT property.\n");
+               dev_err(dev, "Malformed arm,max-rx-timeout-ms DT property.\n");
 
        dev_info(dev, "SCMI max-rx-timeout: %dms\n",
                 trans->desc->max_rx_timeout_ms);
This page took 0.054391 seconds and 4 git commands to generate.