[openwrt/openwrt] qualcommax: remoteproc: use remove_new

LEDE Commits lede-commits at lists.infradead.org
Thu May 1 16:34:40 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/aec2de120f011bf924bf24dbcaa83c099313f2cc

commit aec2de120f011bf924bf24dbcaa83c099313f2cc
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Apr 26 15:52:57 2025 -0700

    qualcommax: remoteproc: use remove_new
    
    Easy compability fix for kernel 6.12.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18660
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 ...805-remoteproc-qcom-Add-Hexagon-based-multipd-rproc-driv.patch | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/target/linux/qualcommax/patches-6.6/0805-remoteproc-qcom-Add-Hexagon-based-multipd-rproc-driv.patch b/target/linux/qualcommax/patches-6.6/0805-remoteproc-qcom-Add-Hexagon-based-multipd-rproc-driv.patch
index 14371cc0fd..97130b59e4 100644
--- a/target/linux/qualcommax/patches-6.6/0805-remoteproc-qcom-Add-Hexagon-based-multipd-rproc-driv.patch
+++ b/target/linux/qualcommax/patches-6.6/0805-remoteproc-qcom-Add-Hexagon-based-multipd-rproc-driv.patch
@@ -96,7 +96,7 @@ Signed-off-by: Manikanta Mylavarapu <quic_mmanikan at quicinc.com>
  obj-$(CONFIG_QCOM_Q6V5_WCSS)		+= qcom_q6v5_wcss.o
 --- /dev/null
 +++ b/drivers/remoteproc/qcom_q6v5_mpd.c
-@@ -0,0 +1,802 @@
+@@ -0,0 +1,800 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright (C) 2016-2018 Linaro Ltd.
@@ -858,7 +858,7 @@ Signed-off-by: Manikanta Mylavarapu <quic_mmanikan at quicinc.com>
 +	return ret;
 +}
 +
-+static int q6_wcss_remove(struct platform_device *pdev)
++static void q6_wcss_remove(struct platform_device *pdev)
 +{
 +	struct rproc *rproc = platform_get_drvdata(pdev);
 +	struct q6_wcss *wcss = rproc->priv;
@@ -867,8 +867,6 @@ Signed-off-by: Manikanta Mylavarapu <quic_mmanikan at quicinc.com>
 +
 +	rproc_del(rproc);
 +	rproc_free(rproc);
-+
-+	return 0;
 +}
 +
 +static const struct wcss_data q6_ipq5332_res_init = {
@@ -889,7 +887,7 @@ Signed-off-by: Manikanta Mylavarapu <quic_mmanikan at quicinc.com>
 +
 +static struct platform_driver q6_wcss_driver = {
 +	.probe = q6_wcss_probe,
-+	.remove = q6_wcss_remove,
++	.remove_new = q6_wcss_remove,
 +	.driver = {
 +		.name = "qcom-q6-mpd",
 +		.of_match_table = q6_wcss_of_match,




More information about the lede-commits mailing list