Commit ad510e4e authored by Leo Yan's avatar Leo Yan Committed by Georgi Djakov

interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended()

This commit changes to use callback qcom_icc_xlate_extended().  This
is a preparation for population path tags from the interconnect DT
binding, it doesn't introduce functionality change for the existed DT
binding without path tags.
Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220712015929.2789881-4-leo.yan@linaro.orgSigned-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parent cb4805b5
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "smd-rpm.h" #include "smd-rpm.h"
#include "icc-common.h"
#include "icc-rpm.h" #include "icc-rpm.h"
/* QNOC QoS */ /* QNOC QoS */
...@@ -414,7 +415,7 @@ int qnoc_probe(struct platform_device *pdev) ...@@ -414,7 +415,7 @@ int qnoc_probe(struct platform_device *pdev)
provider->dev = dev; provider->dev = dev;
provider->set = qcom_icc_set; provider->set = qcom_icc_set;
provider->aggregate = icc_std_aggregate; provider->aggregate = icc_std_aggregate;
provider->xlate = of_icc_xlate_onecell; provider->xlate_extended = qcom_icc_xlate_extended;
provider->data = data; provider->data = data;
ret = icc_provider_add(provider); ret = icc_provider_add(provider);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment