diff mbox series

[3/6] interconnect: qcom: sdm845: Replace xlate with xlate_extended

Message ID 20200723130942.28491-4-georgi.djakov@linaro.org
State Superseded
Headers show
Series interconnect: Introduce xlate_extended() | expand

Commit Message

Georgi Djakov July 23, 2020, 1:09 p.m. UTC
Use the qcom_icc_xlate_extended() in order to parse tags, that are
specified as an additional arguments to the path endpoints in DT.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>

---
 drivers/interconnect/qcom/sdm845.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sibi Sankar July 27, 2020, 10:54 a.m. UTC | #1
On 2020-07-23 18:39, Georgi Djakov wrote:
> Use the qcom_icc_xlate_extended() in order to parse tags, that are

> specified as an additional arguments to the path endpoints in DT.

> 

> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>


Tested-by: Sibi Sankar <sibis@codeaurora.org>

Reviewed-by: Sibi Sankar <sibis@codeaurora.org>


> ---

>  drivers/interconnect/qcom/sdm845.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/interconnect/qcom/sdm845.c

> b/drivers/interconnect/qcom/sdm845.c

> index f6c7b969520d..3b81dbb71b0b 100644

> --- a/drivers/interconnect/qcom/sdm845.c

> +++ b/drivers/interconnect/qcom/sdm845.c

> @@ -469,7 +469,7 @@ static int qnoc_probe(struct platform_device *pdev)

>  	provider->set = qcom_icc_set;

>  	provider->pre_aggregate = qcom_icc_pre_aggregate;

>  	provider->aggregate = qcom_icc_aggregate;

> -	provider->xlate = of_icc_xlate_onecell;

> +	provider->xlate_extended = qcom_icc_xlate_extended;

>  	INIT_LIST_HEAD(&provider->nodes);

>  	provider->data = data;


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.
Matthias Kaehlcke July 27, 2020, 8:51 p.m. UTC | #2
On Thu, Jul 23, 2020 at 04:09:39PM +0300, Georgi Djakov wrote:
> Use the qcom_icc_xlate_extended() in order to parse tags, that are

> specified as an additional arguments to the path endpoints in DT.

> 

> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>


Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
diff mbox series

Patch

diff --git a/drivers/interconnect/qcom/sdm845.c b/drivers/interconnect/qcom/sdm845.c
index f6c7b969520d..3b81dbb71b0b 100644
--- a/drivers/interconnect/qcom/sdm845.c
+++ b/drivers/interconnect/qcom/sdm845.c
@@ -469,7 +469,7 @@  static int qnoc_probe(struct platform_device *pdev)
 	provider->set = qcom_icc_set;
 	provider->pre_aggregate = qcom_icc_pre_aggregate;
 	provider->aggregate = qcom_icc_aggregate;
-	provider->xlate = of_icc_xlate_onecell;
+	provider->xlate_extended = qcom_icc_xlate_extended;
 	INIT_LIST_HEAD(&provider->nodes);
 	provider->data = data;